Python: support checkpoints for workflow orchestrations and sub-workflows (#863)

* Magentic checkpoint wip

* Magentic checkpoint updates

* Support checkpointing for magentic orchestration.

* Checkpointing for sub-workflows

* Use _execute_contexts instead of _pending_requests

* Remove unnecessary type ignores

* Support checkpoints for other orchestrations, refactor some code.

* Regenerate uv.lock
This commit is contained in:
Evan Mattson
2025-09-26 11:21:06 +09:00
committed by GitHub
Unverified
parent 4b743ea62a
commit 2cd7ab342b
22 changed files with 2005 additions and 277 deletions
@@ -406,7 +406,7 @@ def test_cycle_detection_warning(caplog: Any) -> None:
assert workflow is not None
assert "Cycle detected in the workflow graph" in caplog.text
assert "Ensure proper termination conditions exist" in caplog.text
assert "Ensure termination or iteration limits exist" in caplog.text
def test_successful_type_compatibility_logging(caplog: Any) -> None: