Skip to content

Telemetry: agreementRate always shows 100% even when tool calls are rejected #19035

@abhiasap

Description

@abhiasap

What happened?

The agreementRate / "User Agreement" telemetry metric in incorrectly displays 100% even when the user explicitly declines something via the interactive prompt.

Steps to Reproduce:

  • Trigger a tool call that requires user confirmation (e.g., ask it to condense the README into half)
  • When prompted by Gemini CLI, use the down arrow key and enter key to select "4. No, suggest changes (esc)"
  • Ask it to try again
  • This time, choose "1. Allow Once"
  • Run /stats (or simply exit out of the CLI)

Actual Behavior:
In stats, the User Agreement is

User Agreement:             100.0% (1 reviewed)

What did you expect to happen?

Expected Behavior:

In stats, the User Agreement should be

User Agreement:             50.0% (2 reviewed)

Client information

Client Information

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

> /about
╭──────────────────────────────────────────────────────────────────────────────╮
│                                                                              │
│ About Gemini CLI                                                             │
│                                                                              │
│ CLI Version                0.30.0-nightly.20260210.a2174751d-git.34a47a5     │
│ Git Commit                 34a47a5                                           │
│ Model                      auto-gemini-3                                     │
│ Sandbox                    no sandbox                                        │
│ OS                         darwin                                            │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯

Login information

API Key

Anything else we need to know?

Mirror of b/484240481

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/enterpriseIssues related to Telemetry, Policy, Quota / Licensingstatus/need-triageIssues that need to be triaged by the triage automation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions