Skip to content

Gemini in ACP mode doesn't call diff tool before writing files #18808

@brianhuster

Description

@brianhuster

What happened?

Unlike in the TUI, in ACP mode, Gemini only give users 3 options when it attempts to edit files

  1. Allow All Edits
  2. Allow
  3. Reject

This means there is no options to open diff view like in TUI

What did you expect to happen?

Gemini call tool_call with a diff type content to show diff to users before editing file. Or give option view diff in RequestPermission

Client information

Client Information

Run gemini to enter the interactive CLI, then run the /about command.

> /about
About Gemini CLI                                                                                                                              │
│                                                                                                                                               │
│ CLI Version                                      0.28.0                                                                                       │
│ Git Commit                                       b7bd9ec18                                                                                    │
│ Model                                            auto-gemini-3                                                                                │
│ Sandbox                                          no sandbox                                                                                   │
│ OS                                               linux                                                                                        │
│ Auth Method                                      Logged in with Google (phambinhanctb2004@gmail.com)

Login information

Google Account

Anything else we need to know?

No response

Metadata

Metadata

Assignees

Labels

area/non-interactiveIssues related to GitHub Actions, SDK, 3P Integrations, Shell Scripting, Command line automationarea/platformIssues related to Build infra, Release mgmt, Testing, Eval infra, Capacity, Quota mgmthelp wantedWe will accept PRs from all issues marked as "help wanted". Thanks for your support!priority/p2Important but can be addressed in a future release.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions