Skip to main content

Module gemini

Module gemini 

Source
Expand description

Gemini CLI lifecycle telemetry reader.

Parses Gemini telemetry JSONL emitting gemini_cli.api_response and gemini_cli.chat_compression events. Extracts prompt-token totals, model name, the native context-window field, and a compaction signal.

Functionsยง

current
parse_telemetry_log
Parse a Gemini telemetry log byte slice.