fix(config): switch web-search and web-fetch to flash-lite base

gemini-3.1-flash-lite-preview officially supports both googleSearch
(Grounding with Google Search) and urlContext tools per the Gemini API
docs. Switching these configs to gemini-3-flash-lite-base reduces Flash
quota consumption and keeps web tools functional when Flash is exhausted.
This commit is contained in:
kazuki 2026-04-20 16:34:27 +09:00
parent 7473225a7c
commit 97037243ff

View file

@ -176,7 +176,7 @@ export const DEFAULT_MODEL_CONFIGS: ModelConfigServiceConfig = {
},
},
'web-search': {
extends: 'gemini-3-flash-base',
extends: 'gemini-3-flash-lite-base',
modelConfig: {
generateContentConfig: {
tools: [{ googleSearch: {} }],
@ -184,7 +184,7 @@ export const DEFAULT_MODEL_CONFIGS: ModelConfigServiceConfig = {
},
},
'web-fetch': {
extends: 'gemini-3-flash-base',
extends: 'gemini-3-flash-lite-base',
modelConfig: {
generateContentConfig: {
tools: [{ urlContext: {} }],