mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-13 16:02:33 +00:00
fix(context): Change snapshotter model config. (#26745)
This commit is contained in:
@@ -700,6 +700,19 @@ their corresponding top-level category object in your `settings.json` file.
|
||||
"extends": "gemini-3-flash-base",
|
||||
"modelConfig": {}
|
||||
},
|
||||
"context-snapshotter": {
|
||||
"extends": "gemini-3-flash-base",
|
||||
"modelConfig": {
|
||||
"generateContentConfig": {
|
||||
"thinkingConfig": {
|
||||
"thinkingLevel": "HIGH"
|
||||
},
|
||||
"temperature": 1,
|
||||
"topP": 0.95,
|
||||
"topK": 64
|
||||
}
|
||||
}
|
||||
},
|
||||
"chat-compression-3-pro": {
|
||||
"modelConfig": {
|
||||
"model": "gemini-3-pro-preview"
|
||||
|
||||
@@ -221,6 +221,19 @@ export const DEFAULT_MODEL_CONFIGS: ModelConfigServiceConfig = {
|
||||
extends: 'gemini-3-flash-base',
|
||||
modelConfig: {},
|
||||
},
|
||||
'context-snapshotter': {
|
||||
extends: 'gemini-3-flash-base',
|
||||
modelConfig: {
|
||||
generateContentConfig: {
|
||||
thinkingConfig: {
|
||||
thinkingLevel: ThinkingLevel.HIGH,
|
||||
},
|
||||
temperature: 1,
|
||||
topP: 0.95,
|
||||
topK: 64,
|
||||
},
|
||||
},
|
||||
},
|
||||
'chat-compression-3-pro': {
|
||||
modelConfig: {
|
||||
model: 'gemini-3-pro-preview',
|
||||
|
||||
@@ -207,7 +207,7 @@ ${formatNodesForLlm(nodes)}`;
|
||||
try {
|
||||
const result = await this.env.llmClient.generateJson({
|
||||
role: LlmRole.UTILITY_STATE_SNAPSHOT_PROCESSOR,
|
||||
modelConfigKey: { model: 'gemini-3-flash-base' },
|
||||
modelConfigKey: { model: 'context-snapshotter' },
|
||||
contents: [{ role: 'user', parts: [{ text: userPromptText }] }],
|
||||
systemInstruction: { role: 'system', parts: [{ text: systemPrompt }] },
|
||||
schema: patchSchema,
|
||||
|
||||
@@ -253,6 +253,17 @@
|
||||
"topP": 1
|
||||
}
|
||||
},
|
||||
"context-snapshotter": {
|
||||
"model": "gemini-3-flash-preview",
|
||||
"generateContentConfig": {
|
||||
"temperature": 1,
|
||||
"topP": 0.95,
|
||||
"thinkingConfig": {
|
||||
"thinkingLevel": "HIGH"
|
||||
},
|
||||
"topK": 64
|
||||
}
|
||||
},
|
||||
"chat-compression-3-pro": {
|
||||
"model": "gemini-3-pro-preview",
|
||||
"generateContentConfig": {}
|
||||
|
||||
@@ -253,6 +253,17 @@
|
||||
"topP": 1
|
||||
}
|
||||
},
|
||||
"context-snapshotter": {
|
||||
"model": "gemini-3-flash-preview",
|
||||
"generateContentConfig": {
|
||||
"temperature": 1,
|
||||
"topP": 0.95,
|
||||
"thinkingConfig": {
|
||||
"thinkingLevel": "HIGH"
|
||||
},
|
||||
"topK": 64
|
||||
}
|
||||
},
|
||||
"chat-compression-3-pro": {
|
||||
"model": "gemini-3-pro-preview",
|
||||
"generateContentConfig": {}
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user