From b20c8389f3f483f3972c254ec97fff4004b7c75f Mon Sep 17 00:00:00 2001 From: Jerop Kipruto Date: Fri, 13 Jun 2025 03:44:17 -0400 Subject: Handle telemetry in non-interactive mode (#1002) Changes: - Ensure proper shutdown in non-interactive mode - Ensures the initial user prompt is logged in non-interactive mode - Improve telemetry for streaming - handle chunks and input token count is now alongside other token counts in response To test: - Follow instructions in https://github.com/google-gemini/gemini-cli/blob/main/docs/core/telemetry.md#google-cloud - Run CLI in non-interactive mode and observe logs/metrics in GCP Logs Explorer and Metrics Explorer #750 --- docs/core/telemetry.md | 1 - 1 file changed, 1 deletion(-) (limited to 'docs/core') diff --git a/docs/core/telemetry.md b/docs/core/telemetry.md index 41bd9fb7..b7989483 100644 --- a/docs/core/telemetry.md +++ b/docs/core/telemetry.md @@ -296,7 +296,6 @@ These are timestamped records of specific events. - **Attributes**: - `model` - - `input_token_count` - `request_text` (optional) - `gemini_cli.api_error`: Fired if the API request fails. -- cgit v1.2.3