Skip to content

Commit 0781d4b

Browse files
moonbox3Copilot
andauthored
Python: Add Handoff + tool approval + checkpointing sample (#2346)
* Handoff sample * handoff with tool approval * add Hanoff sample with tool approval and checkpointing * Add to README * Remove unnecessary files * Update python/samples/getting_started/workflows/checkpoint/handoff_with_tool_approval_checkpoint_resume.py Co-authored-by: Copilot <[email protected]> * Fix comment --------- Co-authored-by: Copilot <[email protected]>
1 parent 5bdf8a7 commit 0781d4b

File tree

2 files changed

+397
-0
lines changed

2 files changed

+397
-0
lines changed

python/samples/getting_started/workflows/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ Once comfortable with these, explore the rest of the samples below.
5252
| Checkpoint & Resume | [checkpoint/checkpoint_with_resume.py](./checkpoint/checkpoint_with_resume.py) | Create checkpoints, inspect them, and resume execution |
5353
| Checkpoint & HITL Resume | [checkpoint/checkpoint_with_human_in_the_loop.py](./checkpoint/checkpoint_with_human_in_the_loop.py) | Combine checkpointing with human approvals and resume pending HITL requests |
5454
| Checkpointed Sub-Workflow | [checkpoint/sub_workflow_checkpoint.py](./checkpoint/sub_workflow_checkpoint.py) | Save and resume a sub-workflow that pauses for human approval |
55+
| Handoff + Tool Approval Resume | [checkpoint/handoff_with_tool_approval_checkpoint_resume.py](./checkpoint/handoff_with_tool_approval_checkpoint_resume.py) | Handoff workflow that captures tool-call approvals in checkpoints and resumes with human decisions |
5556

5657
### composition
5758

0 commit comments

Comments
 (0)