only use customtoolmodel for api key users (#132)

* only use customtoolmodel for api key users

* use displaystring for showing model in about
This commit is contained in:
Sehoon Shon
2026-02-19 13:18:32 -05:00
parent ed8f7f6766
commit a2d831f1d7
7 changed files with 11 additions and 7 deletions
@@ -173,7 +173,7 @@ export class ClassifierStrategy implements RoutingStrategy {
const useGemini3_1 = (await config.getGemini31Launched?.()) ?? false;
const useCustomToolModel =
useGemini3_1 &&
config.getContentGeneratorConfig().authType !== AuthType.USE_VERTEX_AI;
config.getContentGeneratorConfig().authType === AuthType.USE_GEMINI;
const selectedModel = resolveClassifierModel(
model,
routerResponse.model_choice,