Skip to content

Make MessageBundle a special tool result type#165

Merged
msullivan merged 1 commit into
mainfrom
messages
Jun 9, 2026
Merged

Make MessageBundle a special tool result type#165
msullivan merged 1 commit into
mainfrom
messages

Conversation

@msullivan

Copy link
Copy Markdown
Contributor

Generalize the mechanism used currently for ContentOuput for
MessageBundle as well. This gives it an approximately principled way
for it to be fed into the outbound ai-sdk ui streaming
(SpecialToolResults are allowed to stay as pydantic models) and a
more principled hook for the ui protocol to preserve the shape.

Generalize the mechanism used currently for ContentOuput for
MessageBundle as well. This gives it an approximately principled way
for it to be fed into the outbound ai-sdk ui streaming
(SpecialToolResults are allowed to stay as pydantic models) and a
*more* principled hook for the ui protocol to preserve the shape.
@msullivan msullivan requested a review from anbuzin June 9, 2026 02:30
@vercel

vercel Bot commented Jun 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ai-python Ready Ready Preview, Comment Jun 9, 2026 2:30am

@msullivan msullivan merged commit ec8b957 into main Jun 9, 2026
7 checks passed
@msullivan msullivan deleted the messages branch June 9, 2026 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants