Tools that require confirmation should not block indefinitely in non-interactive mode
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
can you provide an example where this can happen?
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!
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