mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-11 22:51:00 -07:00
This commit addresses two issues with telemetry recording: 1. The metric was missing the attribute, causing a TypeScript error when was called. The attribute has been added back to the metric definition. 2. The metric was being incorrectly called on every token refresh. This has been corrected by removing the calls from the token refresh listener and refactoring the valid success paths to call a new helper function to avoid code duplication.