mirror of
https://github.com/google-gemini/gemini-cli
synced 2026-04-21 13:37:17 +00:00
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:
parent
7473225a7c
commit
97037243ff
1 changed files with 2 additions and 2 deletions
|
|
@ -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: {} }],
|
||||
|
|
|
|||
Loading…
Reference in a new issue