fix(core): use customtools model for gemini-3.1-pro-preview for api key users

This commit is contained in:
Sehoon Shon
2026-02-25 13:28:10 -05:00
parent 29e8f2abf4
commit bf0cbb2c7b
4 changed files with 25 additions and 2 deletions
+5
View File
@@ -62,6 +62,11 @@ export function resolveModel(
}
return PREVIEW_GEMINI_MODEL;
}
case PREVIEW_GEMINI_3_1_MODEL: {
return useCustomToolModel
? PREVIEW_GEMINI_3_1_CUSTOM_TOOLS_MODEL
: PREVIEW_GEMINI_3_1_MODEL;
}
case DEFAULT_GEMINI_MODEL_AUTO: {
return DEFAULT_GEMINI_MODEL;
}