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

run_stream docs are a little misleading #656

Open
thoraxe opened this issue Jan 10, 2025 · 1 comment
Open

run_stream docs are a little misleading #656

thoraxe opened this issue Jan 10, 2025 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@thoraxe
Copy link

thoraxe commented Jan 10, 2025

https://ai.pydantic.dev/api/agent/?h=run_stream#pydantic_ai.agent.Agent.run_stream

The example shown uses response.get_data() which doesn't result in data being streamed.

https://pydanticlogfire.slack.com/archives/C083V7PMHHA/p1736534340754989 has more details.

@samuelcolvin samuelcolvin added the documentation Improvements or additions to documentation label Jan 16, 2025
@samuelcolvin
Copy link
Member

thanks.

@sydney-runkle sydney-runkle self-assigned this Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants