Skip to content

Conversation

@gr2m
Copy link
Collaborator

@gr2m gr2m commented Sep 25, 2025

Screen.Recording.2025-09-25.at.11.09.40.AM.mov

addresses #8453 #3422

@gr2m gr2m added documentation Improvements or additions to documentation backport labels Sep 25, 2025
@gr2m gr2m merged commit e086ec2 into main Sep 25, 2025
12 checks passed
@gr2m gr2m deleted the update-anthropic-stream-object-example branch September 25, 2025 18:15
@vercel-ai-sdk vercel-ai-sdk bot removed the backport label Sep 25, 2025
@vercel-ai-sdk
Copy link
Contributor

vercel-ai-sdk bot commented Sep 25, 2025

✅ Backport PR created: #8916

gr2m added a commit that referenced this pull request Sep 25, 2025
…treamObject()` (#8916)

This is an automated backport of #8914 to the release-v5.0 branch.

Co-authored-by: Gregor Martynus <39992+gr2m@users.noreply.github.com>
lgrammel added a commit that referenced this pull request Oct 17, 2025
…ion (#9229)

## Summary

Adds a new documentation section explaining how to enable incremental
streaming for structured outputs and tool inputs when using the
Anthropic provider.

The new section includes:
- Explanation of the `anthropic-beta:
fine-grained-tool-streaming-2025-05-14` header
- Complete code example for `streamObject` with structured outputs
- Complete code example for `streamText` with tool input streaming
- Clear description of the default behavior vs. incremental streaming

Replaces the previous Note about tool call delays with comprehensive
documentation.

## Related Issues
Fixes #8915
Follow-up to #8914

---------

Co-authored-by: Nico Albanese <49612682+nicoalbanese@users.noreply.github.com>
Co-authored-by: Lars Grammel <lars.grammel@gmail.com>
vercel-ai-sdk bot pushed a commit that referenced this pull request Oct 17, 2025
…ion (#9229)

## Summary

Adds a new documentation section explaining how to enable incremental
streaming for structured outputs and tool inputs when using the
Anthropic provider.

The new section includes:
- Explanation of the `anthropic-beta:
fine-grained-tool-streaming-2025-05-14` header
- Complete code example for `streamObject` with structured outputs
- Complete code example for `streamText` with tool input streaming
- Clear description of the default behavior vs. incremental streaming

Replaces the previous Note about tool call delays with comprehensive
documentation.

## Related Issues
Fixes #8915
Follow-up to #8914

---------

Co-authored-by: Nico Albanese <49612682+nicoalbanese@users.noreply.github.com>
Co-authored-by: Lars Grammel <lars.grammel@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants