We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bac2b3 commit 86de80aCopy full SHA for 86de80a
src/services/workflow_agent.py
@@ -788,7 +788,9 @@ async def _run_async_impl(
788
print("\n🚀 Starting workflow execution:")
789
print(f"Initial content: {user_message[:100]}...")
790
791
- await self._execute_workflow(ctx, graph, initial_state)
+ # Iterar sobre o AsyncGenerator em vez de usar await
792
+ async for event in self._execute_workflow(ctx, graph, initial_state):
793
+ yield event
794
795
except Exception as e:
796
yield await self._handle_workflow_error(e)
0 commit comments