google-gemini/gemini-cli

More configurable numeric routing

Open

#21,805 建立於 2026年3月10日

在 GitHub 查看
 (6 留言) (0 反應) (1 負責人)TypeScript (13,657 fork)batch import
aiq/routingarea/agenthelp wantedkind/enhancementkind/featurepriority/p2status/bot-triaged

倉庫指標

Star
 (103,992 star)
PR 合併指標
 (平均合併 4天 2小時) (30 天內合併 55 個 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

貢獻者指南