Python: Add Handoff orchestration pattern support (#1469)

* Add Handoff orchestration pattern support

* PR feedback

* Use AOAI client in samples

* Adjust to tool

* Handoff to sub-agent via ai function

* PR feedback

* More cleanup

* Improvements

* PR feedback cleanup

* Add handoff migration sample.

* Remove type ignore

* fix markdown link formatting

* Remove readme link for non-existent sample
This commit is contained in:
Evan Mattson
2025-10-22 10:51:51 +09:00
committed by GitHub
Unverified
parent 4554de00ab
commit b66619a544
14 changed files with 2861 additions and 44 deletions
@@ -77,7 +77,7 @@ async def run_sequential_workflow() -> None:
print(f"Starting workflow with input: '{input_text}'")
output_event = None
async for event in workflow.run_stream(input_text):
async for event in workflow.run_stream("Hello world"):
if isinstance(event, WorkflowOutputEvent):
# The WorkflowOutputEvent contains the final result.
output_event = event