Fix dynamic model routing for gemini 3.1 pro to customtools model (#23641)

Co-authored-by: Sehoon Shon <sshon@google.com>
This commit is contained in:
kevinjwang1
2026-03-24 20:16:44 -07:00
committed by GitHub
parent 46aa3fd193
commit d78f54a08a
3 changed files with 24 additions and 2 deletions
@@ -356,6 +356,10 @@ export const DEFAULT_MODEL_CONFIGS: ModelConfigServiceConfig = {
default: 'gemini-3.1-pro-preview',
contexts: [
{ condition: { hasAccessToPreview: false }, target: 'gemini-2.5-pro' },
{
condition: { useCustomTools: true },
target: 'gemini-3.1-pro-preview-customtools',
},
],
},
'gemini-3.1-pro-preview-customtools': {