gemini-cli icon indicating copy to clipboard operation
gemini-cli copied to clipboard

Tools that require confirmation should not block indefinitely in non-interactive mode

Open cornmander opened this issue 1 year ago • 3 comments

What would you like to be added?

cc @richieforeman

We currently block indefinitely as no confirmation prompt can be presented for tools that require confirmation. We should do something better here. Even terminating immediately would at least provide user feedback.

Why is this needed?

The user experience using non-interactive mode is poor when this happens.

Additional context

No response

cornmander avatar Aug 28 '25 19:08 cornmander

can you provide an example where this can happen?

capachino avatar Sep 16 '25 01:09 capachino

Hello! As part of our effort to keep our backlog manageable and focus on the most active issues, we are tidying up older reports.

It looks like this issue hasn't been active for a while, so we are closing it for now. However, if you are still experiencing this bug on the latest stable build, please feel free to comment on this issue or create a new one with updated details.

Thank you for your contribution!

gemini-cli[bot] avatar Dec 03 '25 22:12 gemini-cli[bot]

As part of PR https://github.com/google-gemini/gemini-cli/pull/14702 we are throwing an error when a tool execution requires user confirmation in non-interactive Gemini CLI mode

MayV avatar Dec 10 '25 08:12 MayV