From d1d50c897c18cefea964e8057fe1acfd766ae2bf Mon Sep 17 00:00:00 2001 From: Guspan Tanadi <36249910+guspan-tanadi@users.noreply.github.com> Date: Fri, 24 Jan 2025 19:16:27 +0700 Subject: [PATCH] docs(readme): fix realtime errors docs link (#1286) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3bd386e99..012511412 100644 --- a/README.md +++ b/README.md @@ -157,7 +157,7 @@ A full example can be found [here](https://github.com/openai/openai-node/blob/ma ### Realtime error handling -When an error is encountered, either on the client side or returned from the server through the [`error` event](https://platform.openai.com/docs/guides/realtime/realtime-api-beta#handling-errors), the `error` event listener will be fired. However, if you haven't registered an `error` event listener then an `unhandled Promise rejection` error will be thrown. +When an error is encountered, either on the client side or returned from the server through the [`error` event](https://platform.openai.com/docs/guides/realtime-model-capabilities#error-handling), the `error` event listener will be fired. However, if you haven't registered an `error` event listener then an `unhandled Promise rejection` error will be thrown. It is **highly recommended** that you register an `error` event listener and handle errors approriately as typically the underlying connection is still usable.