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:
Dmytro Struk
2026-02-05 15:34:26 -08:00
committed by GitHub
Unverified
parent 3dc59c83b5
commit 1f8e70d7ad
3 changed files with 38 additions and 2 deletions
@@ -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)