mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-06-27 03:37:27 -07:00
Update default flash lite tool model
This commit is contained in:
committed by
Sri Pasumarthi
parent
f54f63cd4c
commit
a57f33acbc
@@ -10,6 +10,7 @@ import {
|
||||
getDisplayString,
|
||||
PREVIEW_GEMINI_3_1_MODEL,
|
||||
PREVIEW_GEMINI_3_1_FLASH_LITE_MODEL,
|
||||
GEMINI_3_1_FLASH_LITE_MODEL,
|
||||
isProModel,
|
||||
} from '../config/models.js';
|
||||
|
||||
@@ -185,7 +186,11 @@ export class ModelConfigService {
|
||||
if (context.hasAccessToProModel === false && isProModel(id))
|
||||
return false;
|
||||
if (id === PREVIEW_GEMINI_3_1_MODEL && !useGemini31) return false;
|
||||
if (id === PREVIEW_GEMINI_3_1_FLASH_LITE_MODEL && !useGemini31FlashLite)
|
||||
if (
|
||||
(id === PREVIEW_GEMINI_3_1_FLASH_LITE_MODEL ||
|
||||
id === GEMINI_3_1_FLASH_LITE_MODEL) &&
|
||||
!useGemini31FlashLite
|
||||
)
|
||||
return false;
|
||||
return true;
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user