Skip to content

Inconsistent behaviour for adk_request_confirmation #3018

@whanyu1212

Description

@whanyu1212

Describe the bug
The new tool_confirmation feature that's supposed to facilitate human-in-the-loop agentic workflow is very inconsistent.

Suppose i have a tool that does entity extraction and I would like the user to confirm the correctness before proceeding with subsequent steps:

FunctionTool(entity_extraction, require_confirmation=True)

Sometimes it chooses not to wait for the confirmation and just starts to execute the next steps

Good example:

Image

Bad example:

Image

This is similar in nature with #1851 but it's closed without resolving it completely.

Metadata

Metadata

Assignees

Labels

bot triaged[Bot] This issue is triaged by ADK botcore[Component] This issue is related to the core interface and implementation

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions