fix(patch): cherry-pick c7b5dcd to release/v0.17.0-preview.2-pr-13517 to patch version v0.17.0-preview.2 and create version 0.17.0-preview.3 (#13529)

Co-authored-by: Tommaso Sciortino <sciortino@gmail.com>
This commit is contained in:
gemini-cli-robot
2025-11-20 12:00:23 -08:00
committed by GitHub
parent 7a9da63600
commit d3bf3af4a4
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -305,7 +305,7 @@ their corresponding top-level category object in your `settings.json` file.
- **`model.compressionThreshold`** (number):
- **Description:** The fraction of context usage at which to trigger context
compression (e.g. 0.2, 0.3).
- **Default:** `0.7`
- **Default:** `0.5`
- **Requires restart:** Yes
- **`model.skipNextSpeakerCheck`** (boolean):
+1 -1
View File
@@ -693,7 +693,7 @@ const SETTINGS_SCHEMA = {
label: 'Compression Threshold',
category: 'Model',
requiresRestart: true,
default: 0.7 as number,
default: 0.5 as number,
description:
'The fraction of context usage at which to trigger context compression (e.g. 0.2, 0.3).',
showInDialog: true,
@@ -19,7 +19,7 @@ import { getInitialChatHistory } from '../utils/environmentContext.js';
* Default threshold for compression token count as a fraction of the model's
* token limit. If the chat history exceeds this threshold, it will be compressed.
*/
export const DEFAULT_COMPRESSION_TOKEN_THRESHOLD = 0.7;
export const DEFAULT_COMPRESSION_TOKEN_THRESHOLD = 0.5;
/**
* The fraction of the latest chat history to keep. A value of 0.3
+2 -2
View File
@@ -419,8 +419,8 @@
"compressionThreshold": {
"title": "Compression Threshold",
"description": "The fraction of context usage at which to trigger context compression (e.g. 0.2, 0.3).",
"markdownDescription": "The fraction of context usage at which to trigger context compression (e.g. 0.2, 0.3).\n\n- Category: `Model`\n- Requires restart: `yes`\n- Default: `0.7`",
"default": 0.7,
"markdownDescription": "The fraction of context usage at which to trigger context compression (e.g. 0.2, 0.3).\n\n- Category: `Model`\n- Requires restart: `yes`\n- Default: `0.5`",
"default": 0.5,
"type": "number"
},
"skipNextSpeakerCheck": {