Skip to content

Support output_type on stream - #106

Merged
msullivan merged 5 commits into
mainfrom
output
May 12, 2026
Merged

Support output_type on stream#106
msullivan merged 5 commits into
mainfrom
output

Conversation

@msullivan

Copy link
Copy Markdown
Contributor

For now, it is dropped from message and just added to Stream,
and we drop StructuredMessagePart.

We could add something like that back if we really wanted, but I'm not
sure it would be worth it. The parsing would still probably be located
in Stream, since that is where Message construction happens now.

@msullivan
msullivan requested a review from anbuzin May 12, 2026 04:08
@vercel

vercel Bot commented May 12, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
py-ai Ready Ready Preview, Comment May 12, 2026 8:26pm

Request Review

msullivan added 3 commits May 12, 2026 13:01
For now, it is dropped from `message` and just added to `Stream`,
and we drop StructuredMessagePart.

We could add something like that back if we really wanted, but I'm not
sure it would be worth it. The parsing would still probably be located
in Stream, since that is where Message construction happens now.
@msullivan
msullivan merged commit 3a5a305 into main May 12, 2026
6 checks passed
@msullivan
msullivan deleted the output branch May 12, 2026 20:29
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.

1 participant