mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
Python: Added internal kwargs filtering for Anthropic client (#3544)
* Added internal kwargs filtering for chat clients * Small updates * Reverted changes * Small fix * Fixed test
This commit is contained in:
committed by
GitHub
Unverified
parent
3dc59c83b5
commit
1f8e70d7ad
@@ -599,7 +599,7 @@ async def test_sub_workflow_checkpoint_restore_no_duplicate_requests() -> None:
|
||||
|
||||
# Get checkpoint
|
||||
checkpoints = await storage.list_checkpoints(workflow1.id)
|
||||
checkpoint_id = max(checkpoints, key=lambda cp: cp.timestamp).checkpoint_id
|
||||
checkpoint_id = max(checkpoints, key=lambda cp: cp.iteration_count).checkpoint_id
|
||||
|
||||
# Step 2: Resume workflow from checkpoint
|
||||
workflow2 = _build_checkpoint_test_workflow(storage)
|
||||
|
||||
Reference in New Issue
Block a user