Skip to content

Commit

Permalink
fix (docs): change to correct flag name `experimental_toolCallStreami…
Browse files Browse the repository at this point in the history
…ng` (#4221)

Co-authored-by: Lars Grammel <[email protected]>
  • Loading branch information
olyaiy and lgrammel authored Jan 2, 2025
1 parent 4160ece commit 0f19645
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/docs/03-ai-sdk-core/05-generating-text.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ It receives the following chunk types:
- `text-delta`
- `tool-call`
- `tool-result`
- `tool-call-streaming-start` (when `experimental_streamToolCalls` is enabled)
- `tool-call-delta` (when `experimental_streamToolCalls` is enabled)
- `tool-call-streaming-start` (when `experimental_toolCallStreaming` is enabled)
- `tool-call-delta` (when `experimental_toolCallStreaming` is enabled)

```tsx highlight="6-11"
import { streamText } from 'ai';
Expand Down

0 comments on commit 0f19645

Please sign in to comment.