Skip to content

Conversation

mutahirshah11
Copy link
Contributor

This PR fixes a small issue in the docs. The example using Runner.run_streamed was missing the await keyword, which would lead to a runtime error. I've added the missing await in both streaming code examples.

@seratch seratch added documentation Improvements or additions to documentation needs-more-info Waiting for a reply/more info from the author labels Jul 11, 2025
@seratch
Copy link
Member

seratch commented Jul 11, 2025

Thanks for sending this, but I don't think this change is necessary.

@Muhammad-Arham-MERN
Copy link

This PR fixes a small issue in the docs. The example using Runner.run_streamed was missing the await keyword, which would lead to a runtime error. I've added the missing await in both streaming code examples.

Not needed because streaming is not meant to be awaited, its purpose diminishes

@seratch
Copy link
Member

seratch commented Jul 11, 2025

Let me close this now, but please feel free to write in whenever you have follow-ups!

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 needs-more-info Waiting for a reply/more info from the author

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants