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
- Mnemos MCP nears launch after shared memory layer fix — RileyRalmuto · 2026-11-04
- Moving mobile dev to remote machines makes it multiplayer across product, design, engineering — rudrank · 2026-11-04
- Kuaishou's EvoRec: self-evolving agentic recommender lifts ad revenue 4.6% — _reachsumit · 2026-11-04
- TRIO: three specialized agents with aligned objectives refine retrieval-augmented generation — _reachsumit · 2026-11-04
- How Multica uses Multica to build itself: full human-agent dev workflow — jiayuan_jy · 2026-11-04
- Claude Code fixes game copyright refusal rule in 2.1.317: naming a game now works — apples_jimmy · 2026-11-04