google-gemini/gemini-cli

More configurable numeric routing

开放

#21,805 创建于 2026年3月10日

 (6 条评论) (0 个反应) (1 位负责人)TypeScript (13,657 个派生)batch import
aiq/routingarea/agenthelp wantedkind/enhancementkind/featurepriority/p2status/bot-triaged

仓库指标

星标
 (103,992 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

What would you like to be added?

I would like to have much more control over routing. For numerical routing, this would mean controlling what levels get sent to which models, for example something like:

  • <10 -> local gemma
  • <30 -> 2.5 flash
  • <80 -> 3 flash
  • >80 -> 3 pro

Why is this needed?

Currently, the only routing available is to choose between the flash and pro models for the current major version. This is quite restrictive, especially as even 3 flash is quite capable (and quite quota- and rate-limited).

Additional context

No response

贡献者指南