Gemini CLI v0.69.0: configurable API timeout, /stats heatmap, standalone theme files#
Published by Alex Sorokoletov
Part of the Gemini CLI Version Tracker series. | Gemini CLI on GitHub | Releases
Gemini CLI v0.69.0 builds on v0.68.0 with a configurable API headers timeout that replaces the fixed 60-second limit, a /stats heatmap subcommand that charts daily token usage, standalone theme.json files for custom themes, and fixes for silent network hangs, recursive shell sessions, and multi-hour quota retries.[1]
A settable API headers timeout#
The 60-second API headers timeout can now be overridden across all authentication modes, through the model.requestTimeoutMs setting or the GEMINI_API_HEADERS_TIMEOUT_MS environment variable.[2]
| Variable | What It Does |
|---|---|
GEMINI_API_HEADERS_TIMEOUT_MS | Overrides the 60-second API headers timeout, across all authentication modes.[2] |
A related fix prevents silent multi-minute loading hangs on network failures, so a dropped connection surfaces instead of leaving the session waiting.[3] Another bounds quota handling: the CLI no longer retries for multiple hours on a quota error, and it notifies the ACP client on each retry attempt.[4]
/stats heatmap and standalone themes#
A /stats heatmap subcommand charts daily token usage.[5] Theme configuration gains a standalone theme.json file for custom themes, with the home-directory check for that file using subpath resolution.[6] The /model command now validates model names and accepts a model name as a direct argument.[7]
Fixes#
| Area | What changed |
|---|---|
| Template placeholders | Literal $ characters are preserved during template placeholder replacement.[8] An environment-variable collision in expandEnvVars is prevented.[9] |
@file references | Leading and trailing whitespace is preserved in @file references.[10] |
| Shell mode | Recursive interactive gemini sessions are prevented when running inside shell mode.[11] On Windows, PowerShell substitution false positives and policy handling are corrected.[12] |
| File reads | read-many-files only inlines binary assets that were explicitly requested.[13] |
| Memory | PDF inlineData and telemetry buffer memory retention is cleared.[14] Multi-part tool outputs are bounded and older multimodal inlineData is evicted.[15] |
| Headless abort | On a headless abort, child processes are killed, cancelled tools are recorded, and the signal exit code is preserved.[16] |
Hardening long and unattended runs#
Most of v0.69.0 lands in the paths a session hits when it runs long or without a person watching. The settable headers timeout, the network-hang fix, and the bounded quota retries all govern how the CLI waits on the API; the PDF, telemetry, and multimodal fixes govern what it holds in memory while a conversation grows; and the headless-abort handling governs how a non-interactive run exits.
Two of these changes compound for a program driving the CLI over ACP. The headers timeout is adjustable and the client is notified on each quota retry, so a wrapper can set its own deadline for a response and watch retry activity rather than guessing whether a quiet session is slow or stuck.
This analysis is based on publicly available open-source code and release metadata, conducted for educational and research purposes. All trademarks and software referenced belong to their respective owners.
Sources#
- [1] Gemini CLI v0.69.0 release notes (v0.68.0 to v0.69.0)
- [2] PR #30183: allow overriding 60s API headers timeout across all auth modes
- [3] PR #30182: prevent silent multi-minute loading hangs on network failures
- [4] PR #30187: prevent multi-hour quota retries and notify ACP client on retry attempts
- [5] PR #30135: add /stats heatmap subcommand for daily token usage
- [6] PR #30119: support standalone theme.json configuration for custom themes
- [7] PR #30137: validate model names and support direct arguments in /model command
- [8] PR #30136: preserve literal $ characters during template placeholder replacement
- [9] PR #30138: prevent GCLI_EXPAND_TARGET env collision in expandEnvVars
- [10] PR #30150: preserve leading and trailing whitespace in @file references
- [11] PR #30185: prevent recursive interactive gemini sessions in shell mode
- [12] PR #30110: fix Windows PowerShell substitution false positives and policy handling
- [13] PR #30211: ensure read-many-files only inlines explicitly requested binary assets
- [14] PR #30217: prevent PDF inlineData and telemetry buffer memory retention
- [15] PR #30180: bound multi-part tool outputs and evict older multimodal inlineData
- [16] PR #30204: kill child processes, record cancelled tools, and preserve signal exit code on headless abort
Previous Gemini CLI analysis: v0.68.0 (November 26, 2026)
Next Gemini CLI analysis: v0.70.0 (November 26, 2026)
All 13 Gemini CLI analyses: Gemini CLI Version Tracker · Official Gemini CLI changelog