mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-02-01 22:48:03 +00:00
feat: enable numerical routing by default with threshold 25
This commit is contained in:
@@ -1843,8 +1843,10 @@ export class Config {
|
||||
async getNumericalRoutingEnabled(): Promise<boolean> {
|
||||
await this.ensureExperimentsLoaded();
|
||||
|
||||
return !!this.experiments?.flags[ExperimentFlags.ENABLE_NUMERICAL_ROUTING]
|
||||
?.boolValue;
|
||||
return (
|
||||
this.experiments?.flags[ExperimentFlags.ENABLE_NUMERICAL_ROUTING]
|
||||
?.boolValue ?? true
|
||||
);
|
||||
}
|
||||
|
||||
async getClassifierThreshold(): Promise<number | undefined> {
|
||||
@@ -1854,7 +1856,7 @@ export class Config {
|
||||
if (flag?.intValue !== undefined) {
|
||||
return parseInt(flag.intValue, 10);
|
||||
}
|
||||
return flag?.floatValue;
|
||||
return flag?.floatValue ?? 25;
|
||||
}
|
||||
|
||||
async getBannerTextNoCapacityIssues(): Promise<string> {
|
||||
|
||||
Reference in New Issue
Block a user