Repository navigation
Closed
Closed
Copy link
Description
📋 Prerequisites
- I have searched the existing issues to avoid creating a duplicate
- By submitting this issue, you agree to follow our Code of Conduct
- I am using the latest version of the software
- I have tried to clear cache/cookies or used incognito mode (if ui-related)
- I can consistently reproduce this issue
🎯 Affected Service(s)
Controller Service
🚦 Impact/Severity
Minor inconvenience
🐛 Bug Description
Every human-in-the-loop interaction fails on resume in kagent 0.10.0 (both the built-in ask_user tool and any tool listed in tools_requiring_approval). The agent asks its question fine but answering it always fails with:
ValueError: Tool 'ask_user' does not require confirmation.
🔄 Steps To Reproduce
- Deploy any Declarative python agent on kagent 0.10.0.
- Ask it something that makes it call
ask_user(e.g. "ask me a question"). - The agent pauses and presents the question.
- Answer it, from the kagent UI or any A2A client.
- The run fails with
Tool 'ask_user' does not require confirmation.
Identical failure for any tool in tools_requiring_approval, with that tool's name in the message.
🤔 Expected Behavior
The agent is able to ask the question, and when the user answers it it proceeds as normal.
📱 Actual Behavior
The agent asks the question, but any answer provided by the user results in:
ValueError: Tool 'ask_user' does not require confirmation.
💻 Environment
| kagent | 0.10.0 (ghcr.io/kagent-dev/kagent/app:0.10.0-full, controller 0.10.0) |
| kagent-adk | 0.3.0 |
| kagent-core | 0.1.0 |
| google-adk | 1.38.0 |
| a2a-sdk | 0.3.26 |
| Agent | Declarative, runtime: python |
| Database | PostgreSQL (controller-backed session store) |
🔧 CLI Bug Report
No response
🔍 Additional Context
Seems related with #2465
📋 Logs
kagent_adk.kagent.adk._agent_executor - ERROR - Error handling A2A request: Tool 'ask_user' does not require confirmation.
Traceback (most recent call last):
File "/.kagent/packages/kagent-adk/src/kagent/adk/_agent_executor.py", line 246, in _execute_impl
await self._handle_request(context, event_queue, runner, run_args)
File "/.kagent/packages/kagent-adk/src/kagent/adk/_agent_executor.py", line 604, in _handle_request
async for adk_event in agen:
...
File "/.kagent/.venv/lib/python3.13/site-packages/google/adk/flows/llm_flows/base_llm_flow.py", line 1001, in _preprocess_async
async for event in agen:
yield event
File "/.kagent/.venv/lib/python3.13/site-packages/google/adk/flows/llm_flows/request_confirmation.py", line 336, in run_async
await _resolve_confirmation_targets(
File "/.kagent/.venv/lib/python3.13/site-packages/google/adk/flows/llm_flows/request_confirmation.py", line 184, in _resolve_confirmation_targets
raise ValueError(
ValueError: Tool 'ask_user' does not require confirmation.📷 Screenshots
No response
🙋 Are you willing to contribute?
- I am willing to submit a PR to fix this issue
Reacted by Brian Fox and vladst3f
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
- StatusShow more project fieldsBacklog
Activity
[-][BUG] All HITL broken in 0.10.0: executor truncates the stream before the confirmation-request event is persisted → "Tool 'X' does not require confirmation."[/-][+][BUG] All HITL broken in 0.10.0: "Tool 'X' does not require confirmation."[/+][-][BUG] All HITL broken in 0.10.0: "Tool 'X' does not require confirmation."[/-][+][BUG] HITL broken in 0.10.0 for Python agents: "Tool 'X' does not require confirmation."[/+]fix(adk): Python agents HITL resume and align memory API (#2751)
Daniel-Vaz commentedon Sep 9, 2026
Tested on version 0.10.1 and it's working once again. Thank you very much!