Skip to content
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

Streamed response messages #274

Merged
merged 5 commits into from
Dec 16, 2024
Merged

Streamed response messages #274

merged 5 commits into from
Dec 16, 2024

Conversation

samuelcolvin
Copy link
Member

replace #233

following #184 for streamed responses.

Copy link

cloudflare-workers-and-pages bot commented Dec 16, 2024

Deploying pydantic-ai with  Cloudflare Pages  Cloudflare Pages

Latest commit: 313a1b1
Status: ✅  Deploy successful!
Preview URL: https://63ba91b8.pydantic-ai.pages.dev
Branch Preview URL: https://streamed-response-messages.pydantic-ai.pages.dev

View logs

Copy link
Member

@sydney-runkle sydney-runkle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM overall. I'm not super familiar with our streaming logic, but the test changes look good.

pydantic_ai_slim/pydantic_ai/agent.py Show resolved Hide resolved
@samuelcolvin samuelcolvin merged commit 5027f3d into main Dec 16, 2024
13 checks passed
@samuelcolvin samuelcolvin deleted the streamed-response-messages branch December 16, 2024 20:54
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