Skip to content

Streamed response messages - #274

Merged
samuelcolvin merged 5 commits into
mainfrom
streamed-response-messages
Dec 16, 2024
Merged

samuelcolvin merged 5 commits into
mainfrom
streamed-response-messages

Conversation

@samuelcolvin

Copy link
Copy Markdown
Member

replace #233

following #184 for streamed responses.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Dec 16, 2024 •

Copy link
Copy Markdown

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

Comment thread tests/test_streaming.py
Comment thread pydantic_ai_slim/pydantic_ai/_result.py
Comment thread pydantic_ai_slim/pydantic_ai/agent.py
Comment thread pydantic_ai_slim/pydantic_ai/agent.py Outdated

@sydney-runkle sydney-runkle left a comment

Copy link
Copy Markdown
Contributor

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.

Comment thread pydantic_ai_slim/pydantic_ai/agent.py
@samuelcolvin
samuelcolvin merged commit 5027f3d into main Dec 16, 2024
@samuelcolvin
samuelcolvin deleted the streamed-response-messages branch December 16, 2024 20:54
thiagohora pushed a commit to thiagohora/pydantic-ai that referenced this pull request Feb 10, 2026
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