mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-10 14:10:37 -07:00
refactor: simplify tool output truncation to single config (#18446)
This commit is contained in:
@@ -1180,25 +1180,11 @@
|
||||
"default": true,
|
||||
"type": "boolean"
|
||||
},
|
||||
"enableToolOutputTruncation": {
|
||||
"title": "Enable Tool Output Truncation",
|
||||
"description": "Enable truncation of large tool outputs.",
|
||||
"markdownDescription": "Enable truncation of large tool outputs.\n\n- Category: `General`\n- Requires restart: `yes`\n- Default: `true`",
|
||||
"default": true,
|
||||
"type": "boolean"
|
||||
},
|
||||
"truncateToolOutputThreshold": {
|
||||
"title": "Tool Output Truncation Threshold",
|
||||
"description": "Truncate tool output if it is larger than this many characters. Set to -1 to disable.",
|
||||
"markdownDescription": "Truncate tool output if it is larger than this many characters. Set to -1 to disable.\n\n- Category: `General`\n- Requires restart: `yes`\n- Default: `4000000`",
|
||||
"default": 4000000,
|
||||
"type": "number"
|
||||
},
|
||||
"truncateToolOutputLines": {
|
||||
"title": "Tool Output Truncation Lines",
|
||||
"description": "The number of lines to keep when truncating tool output.",
|
||||
"markdownDescription": "The number of lines to keep when truncating tool output.\n\n- Category: `General`\n- Requires restart: `yes`\n- Default: `1000`",
|
||||
"default": 1000,
|
||||
"description": "Maximum characters to show when truncating large tool outputs. Set to 0 or negative to disable truncation.",
|
||||
"markdownDescription": "Maximum characters to show when truncating large tool outputs. Set to 0 or negative to disable truncation.\n\n- Category: `General`\n- Requires restart: `yes`\n- Default: `40000`",
|
||||
"default": 40000,
|
||||
"type": "number"
|
||||
},
|
||||
"disableLLMCorrection": {
|
||||
|
||||
Reference in New Issue
Block a user