Skip to content

docs: make StoryFlowAgent example fully async/await (#379) #408

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

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

Conversation

merdandt
Copy link

Fixes #379

  • Convert call_agent to async def
  • Await session_service.create_session and session_service.get_session
  • Await the top-level call in the example block

All code now runs without RuntimeWarning: coroutine was never awaited.

@merdandt merdandt force-pushed the fix-async-code-in-storyflow branch from 3a7a62e to 623f578 Compare June 16, 2025 03:25
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.

Documentation: StoryFlowAgent example is not runnable due to missing async/await
1 participant