mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-08-09 16:36:40 -07:00
feat(core): Add model config for flash 3 (#78)
This commit is contained in:
committed by
Tommaso Sciortino
parent
06dcf216e1
commit
562d84545a
@@ -8,6 +8,10 @@ import { ThinkingLevel } from '@google/genai';
|
||||
import type { ModelConfigServiceConfig } from '../services/modelConfigService.js';
|
||||
import { DEFAULT_THINKING_MODE } from './models.js';
|
||||
|
||||
// TODO(joshualitt): This is safe for orions belt, but this change SHOULD NOT
|
||||
// be merged when orions belt is merged with it's upstream.
|
||||
const FLASH_PREVIEW_MODEL_REVERT_BEFORE_MERGE = 'skyhawk';
|
||||
|
||||
// The default model configs. We use `base` as the parent for all of our model
|
||||
// configs, while `chat-base`, a child of `base`, is the parent of the models
|
||||
// we use in the "chat" experience.
|
||||
@@ -65,6 +69,12 @@ export const DEFAULT_MODEL_CONFIGS: ModelConfigServiceConfig = {
|
||||
model: 'gemini-3-pro-preview',
|
||||
},
|
||||
},
|
||||
'gemini-3-flash-preview': {
|
||||
extends: 'chat-base-3',
|
||||
modelConfig: {
|
||||
model: FLASH_PREVIEW_MODEL_REVERT_BEFORE_MERGE,
|
||||
},
|
||||
},
|
||||
'gemini-2.5-pro': {
|
||||
extends: 'chat-base-2.5',
|
||||
modelConfig: {
|
||||
@@ -188,6 +198,11 @@ export const DEFAULT_MODEL_CONFIGS: ModelConfigServiceConfig = {
|
||||
model: 'gemini-3-pro-preview',
|
||||
},
|
||||
},
|
||||
'chat-compression-3-flash': {
|
||||
modelConfig: {
|
||||
model: FLASH_PREVIEW_MODEL_REVERT_BEFORE_MERGE,
|
||||
},
|
||||
},
|
||||
'chat-compression-2.5-pro': {
|
||||
modelConfig: {
|
||||
model: 'gemini-2.5-pro',
|
||||
|
||||
Reference in New Issue
Block a user