Gemini CLI PR adds 'gemini models list' with pure JSON output for tool integrations
Kaushik2210 · ghdev · 2026-09-19
PR #29404 on google-gemini/gemini-cli adds a gemini models list subcommand so integrations can discover valid -m/--model values without hardcoding stale IDs. Key design points:
- -o emits pure JSON on stdout (warnings go to stderr), so piping to jq works; default output is human-readable and marks the current model.
- Reuses buildAvailableModels() from ACP mode, so the list can't drift from what /model shows, covering both legacy and experimental.dynamicModelConfiguration paths.
- Follows the skills list command pattern; only inputTokenLimit is reported since the codebase has no output-limit source.
- Availability is local (settings + cached access state), not a live account query.
More from coding & agent
- Split coding and testing across two agents to save weekly quota — ___Patrice___ · 2026-09-19
- onPanda: open-source token-level LLM editor that can harness Claude Code and Codex — Fancy_Fanqi77 · 2026-09-19
- Muse use-case directory adds 90 new entries, now 678 total with ready-to-run prompts — armand_ruiz · 2026-09-19
- Skip the waitlist: running Jev's evaluate API via Vercel AI Gateway for $0.00074 — AlchainHust · 2026-09-19
- Simulated Worlds for Sonnet 3.6: Bureaucracy, Commutes and TONS OF KINDNESS — repligate · 2026-09-19
- Anthropic's Fable 5.1 lands in Kiro, built for long-running context-heavy agentic sessions — DigitalColmer · 2026-09-19