Files
google--adk-python/tests
Shangjie Chen fd006db915 fix(workflow): fix task agent resumption in nested workflows
Fix an issue where task-mode LLM agents invoked inside nested workflows or custom nodes with raise_on_wait=True fail to resume upon user reply.

- Ensure raise_on_wait=True in Context._run_node_internal triggers NodeInterruptedError when child output is None regardless of wait_for_output defaults.
- Update ReplayInterceptor Case 5 to allow re-running Workflow instances and rerun_on_resume nodes when recovered output is None.
- Add unit test test_nested_workflow_with_task_agent to cover task agent resumption in nested workflows.

Co-authored-by: Shangjie Chen <deanchen@google.com>
PiperOrigin-RevId: 949367240
2026-07-16 22:27:24 -07:00
..