You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
state =await ctx.get_executor_state() or {"items": []}
978
978
state["items"].append(msg)
979
-
await ctx.set_state(state)
979
+
await ctx.set_executor_state(state)
980
980
iflen(state["items"]) >=2:
981
981
await ctx.yield_output(" | ".join(state["items"])) # ALL join
982
982
@@ -1404,7 +1404,7 @@ AutoGen's `Team` abstraction does not provide built-in checkpointing capabilitie
1404
1404
1405
1405
Agent Framework provides comprehensive checkpointing through `FileCheckpointStorage` and the `with_checkpointing()` method on `WorkflowBuilder`. Checkpoints capture:
1406
1406
1407
-
-**Executor state**: Local state for each executor using `ctx.set_state()`
1407
+
-**Executor state**: Local state for each executor using `ctx.set_executor_state()`
1408
1408
-**Shared state**: Cross-executor state using `ctx.set_shared_state()`
1409
1409
-**Message queues**: Pending messages between executors
1410
1410
-**Workflow position**: Current execution progress and next steps
@@ -1424,9 +1424,9 @@ class ProcessingExecutor(Executor):
0 commit comments