[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-07 07:32:38 +09:00
committed by GitHub
Unverified
parent 15256bb616
commit a17f13598b
39 changed files with 561 additions and 335 deletions
@@ -755,7 +755,7 @@ class InvokeAzureAgentExecutor(DeclarativeActionExecutor):
When externalLoop.when is configured and evaluates to true after agent response,
this method emits an ExternalInputRequest via ctx.request_info() and returns.
The workflow will yield, and when the caller provides a response via
send_responses_streaming(), the handle_external_input_response handler
run(responses=..., stream=True), the handle_external_input_response handler
will continue the loop.
"""
state = await self._ensure_state_initialized(ctx, trigger)