Skip to content

task_checkpoint_path

autogen.beta.network.hub.layout.task_checkpoint_path #

task_checkpoint_path(task_id)

Owner-supplied resume state for crash recovery. Single JSON blob, last-write-wins. Opaque to the framework.

Source code in autogen/beta/network/hub/layout.py
def task_checkpoint_path(task_id: str) -> str:
    """Owner-supplied resume state for crash recovery. Single JSON
    blob, last-write-wins. Opaque to the framework."""
    return f"/tasks/{task_id}/checkpoint.json"