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

Use .iter() API to fully replace existing streaming implementation #951

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dmontagu
Copy link
Contributor

This is a work in progress on top of #833. I wanted to see this through to make sure that we had a plan for using the node streaming from #833 to replace our current streaming implementation APIs, and with this branch in the state it is, I feel pretty convinced that it's going to work and we'll be able to use the implementation here (perhaps with some tweaks) to achieve full capability parity with the existing APIs, while also being significantly more flexible and powerful.

I think we should merge #833 first without it being capable of fully replacing the Agent.run_stream API, etc., but once that is merged I think we should aim to merge this shortly after and use it to replace the streaming APIs more fully.

Copy link

github-actions bot commented Feb 20, 2025

Docs Preview

commit: 55ab7f0
Preview URL: https://29568a97-pydantic-ai-previews.pydantic.workers.dev

Base automatically changed from dmontagu/graph-run-object to main February 20, 2025 21:17
@dmontagu dmontagu force-pushed the dmontagu/graph-run-streaming branch from 302b8bf to 55ab7f0 Compare February 23, 2025 21:51
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