[BREAKING] Python: Merge send_responses into run method (#3720)

* Streamline workflow run api with send responses in one method

* Fixes

* Address copilot feedback
This commit is contained in:
Evan Mattson
2026-02-06 22:32:38 +00:00
committed by GitHub
parent 15256bb616
commit a17f13598b
39 changed files with 561 additions and 335 deletions
@@ -193,7 +193,7 @@ async def run_agent_framework() -> None:
current_executor = None
stream_line_open = False
async for event in workflow.send_responses_streaming(responses):
async for event in workflow.run(stream=True, responses=responses):
if event.type == "output" and isinstance(event.data, AgentResponseUpdate):
# Print executor name header when switching to a new agent
if current_executor != event.executor_id: