Skip to content

Commit 90e3d39

Browse files
guspan-tanadistainless-app[bot]
authored andcommitted
docs(readme): current section links (#2055)
chore(helpers): section links
1 parent d16e6ed commit 90e3d39

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ However the real magic of the Realtime API is handling audio inputs / outputs, s
304304

305305
### Realtime error handling
306306

307-
Whenever an error occurs, the Realtime API will send an [`error` event](https://platform.openai.com/docs/guides/realtime/realtime-api-beta#handling-errors) and the connection will stay open and remain usable. This means you need to handle it yourself, as *no errors are raised directly* by the SDK when an `error` event comes in.
307+
Whenever an error occurs, the Realtime API will send an [`error` event](https://platform.openai.com/docs/guides/realtime-model-capabilities#error-handling) and the connection will stay open and remain usable. This means you need to handle it yourself, as *no errors are raised directly* by the SDK when an `error` event comes in.
308308

309309
```py
310310
client = AsyncOpenAI()
@@ -547,7 +547,7 @@ client.with_options(max_retries=5).chat.completions.create(
547547
### Timeouts
548548

549549
By default requests time out after 10 minutes. You can configure this with a `timeout` option,
550-
which accepts a float or an [`httpx.Timeout`](https://www.python-httpx.org/advanced/#fine-tuning-the-configuration) object:
550+
which accepts a float or an [`httpx.Timeout`](https://www.python-httpx.org/advanced/timeouts/#fine-tuning-the-configuration) object:
551551

552552
```python
553553
from openai import OpenAI

helpers.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ OpenAI supports streaming responses when interacting with the [Chat Completion](
134134

135135
The SDK provides a `.beta.chat.completions.stream()` method that wraps the `.chat.completions.create(stream=True)` stream providing a more granular event API & automatic accumulation of each delta.
136136

137-
It also supports all aforementioned [parsing helpers](#parsing-helpers).
137+
It also supports all aforementioned [parsing helpers](#structured-outputs-parsing-helpers).
138138

139139
Unlike `.create(stream=True)`, the `.stream()` method requires usage within a context manager to prevent accidental leakage of the response:
140140

0 commit comments

Comments
 (0)