Skip to content

Commit efbe30a

Browse files
docs(README): fix helpers section links (#1224)
1 parent 86fc0a8 commit efbe30a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ main();
200200
```
201201

202202
Streaming with `openai.beta.chat.completions.stream({…})` exposes
203-
[various helpers for your convenience](helpers.md#events) including event handlers and promises.
203+
[various helpers for your convenience](helpers.md#chat-events) including event handlers and promises.
204204

205205
Alternatively, you can use `openai.chat.completions.create({ stream: true, … })`
206206
which only returns an async iterable of the chunks in the stream and thus uses less memory
@@ -285,12 +285,12 @@ main();
285285
// Final content: "It's looking cold and rainy - you might want to wear a jacket!"
286286
```
287287

288-
Like with `.stream()`, we provide a variety of [helpers and events](helpers.md#events).
288+
Like with `.stream()`, we provide a variety of [helpers and events](helpers.md#chat-events).
289289

290290
Note that `runFunctions` was previously available as well, but has been deprecated in favor of `runTools`.
291291

292292
Read more about various examples such as with integrating with [zod](helpers.md#integrate-with-zod),
293-
[next.js](helpers.md#integrate-wtih-next-js), and [proxying a stream to the browser](helpers.md#proxy-streaming-to-a-browser).
293+
[next.js](helpers.md#integrate-with-nextjs), and [proxying a stream to the browser](helpers.md#proxy-streaming-to-a-browser).
294294

295295
## File uploads
296296

0 commit comments

Comments
 (0)