mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-21 11:30:38 -07:00
fix(core): enable numerical routing for api key users (#21977)
This commit is contained in:
@@ -78,10 +78,9 @@ export class ModelRouterService {
|
||||
|
||||
const [enableNumericalRouting, thresholdValue] = await Promise.all([
|
||||
this.config.getNumericalRoutingEnabled(),
|
||||
this.config.getClassifierThreshold(),
|
||||
this.config.getResolvedClassifierThreshold(),
|
||||
]);
|
||||
const classifierThreshold =
|
||||
thresholdValue !== undefined ? String(thresholdValue) : undefined;
|
||||
const classifierThreshold = String(thresholdValue);
|
||||
|
||||
let failed = false;
|
||||
let error_message: string | undefined;
|
||||
|
||||
Reference in New Issue
Block a user