There was an error while loading. Please reload this page.
1 parent 8b8121b commit 5c466c0Copy full SHA for 5c466c0
1 file changed
src/a2a/server/agent_execution/active_task.py
@@ -432,7 +432,8 @@ async def refresh_task_if_idle(
432
) -> None:
433
"""Drops an idle task snapshot before a new request boundary.
434
435
- An ``ActiveTask`` remains registered while a task waits for HITL input,
+ An ``ActiveTask`` remains registered while a task waits for
436
+ human-in-the-loop input,
437
so another process may persist a newer task snapshot in the meantime.
438
Refreshing only while the producer/consumer reference is idle avoids
439
replacing the task object during an active streaming request, where
0 commit comments