Skip to content

feat: add input arg to toModelOutput#11189

Merged
lgrammel merged 7 commits intomainfrom
lg/CremMflv
Dec 15, 2025
Merged

feat: add input arg to toModelOutput#11189
lgrammel merged 7 commits intomainfrom
lg/CremMflv

Conversation

@lgrammel
Copy link
Copy Markdown
Collaborator

@lgrammel lgrammel commented Dec 15, 2025

Background

Additional information such as toolCallId can make toModelOutput more flexible.

Summary

Add input to toModelOutput parameters.

Manual Verification

  • run examples/ai-core/src/stream-text/openai-read-ui-message-stream.ts

Tasks

  • implementation
  • test
  • example
  • docs
  • changeset

Related Issues

Follow up from #11173
Related to #9368

@vercel-ai-sdk vercel-ai-sdk bot added the ai/core core functions like generateText, streamText, etc. Provider utils, and provider spec. label Dec 15, 2025
@lgrammel lgrammel changed the title 1 feat: add input arg to toModelOutput Dec 15, 2025
@lgrammel lgrammel marked this pull request as ready for review December 15, 2025 17:53
@lgrammel lgrammel merged commit c1efac4 into main Dec 15, 2025
18 checks passed
@lgrammel lgrammel deleted the lg/CremMflv branch December 15, 2025 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai/core core functions like generateText, streamText, etc. Provider utils, and provider spec.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants