google-gemini / google-gemini/gemini-cli

More configurable numeric routing

Open
#21,805 6 comments 0 reactions 1 assignee Claimed by @ujjwalv01 View on GitHub
aiq/routing area/agent help wanted kind/enhancement priority/p2 status/bot-triaged
Dominant language
TypeScript
Stars
107k
Forks
14.6k
Avg merge
2d 3h
Merged PRs (30d)
45

Description

### 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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.