Skip to content

Make AgentStream.stream_output (available inside agent.iter) stream validated output data instead of raising validation errors #2134

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 4, 2025

Conversation

DouweM
Copy link
Contributor

@DouweM DouweM commented Jul 4, 2025

StreamedRunResult.stream (available inside agent.run_stream) already worked this way.

Brought up in Slack: https://pydanticlogfire.slack.com/archives/C083V7PMHHA/p1751559059148199

…d output data instead of raising validation errors
@DouweM DouweM self-assigned this Jul 4, 2025
@DouweM DouweM changed the title Make AgentStream.stream (available inside agent.iter) stream validated output data instead of raising validation errors Make AgentStream.stream_output (available inside agent.iter) stream validated output data instead of raising validation errors Jul 4, 2025
@DouweM DouweM enabled auto-merge (squash) July 4, 2025 20:49
@DouweM DouweM merged commit cefe6a3 into main Jul 4, 2025
16 checks passed
@DouweM DouweM deleted the agent-iter-stream-output branch July 4, 2025 20:55
Copy link

github-actions bot commented Jul 4, 2025

Docs Preview

commit: e91a7b5
Preview URL: https://840b240c-pydantic-ai-previews.pydantic.workers.dev

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