mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-22 19:14:33 -07:00
fix(cli): add enableShellOutputEfficiency to settings schema (#15560)
This commit is contained in:
@@ -682,6 +682,8 @@ export async function loadCliConfig(
|
||||
enableInteractiveShell:
|
||||
settings.tools?.shell?.enableInteractiveShell ?? true,
|
||||
shellToolInactivityTimeout: settings.tools?.shell?.inactivityTimeout,
|
||||
enableShellOutputEfficiency:
|
||||
settings.tools?.shell?.enableShellOutputEfficiency ?? true,
|
||||
skipNextSpeakerCheck: settings.model?.skipNextSpeakerCheck,
|
||||
enablePromptCompletion: settings.general?.enablePromptCompletion ?? false,
|
||||
truncateToolOutputThreshold: settings.tools?.truncateToolOutputThreshold,
|
||||
|
||||
@@ -953,6 +953,16 @@ const SETTINGS_SCHEMA = {
|
||||
'The maximum time in seconds allowed without output from the shell command. Defaults to 5 minutes.',
|
||||
showInDialog: false,
|
||||
},
|
||||
enableShellOutputEfficiency: {
|
||||
type: 'boolean',
|
||||
label: 'Enable Shell Output Efficiency',
|
||||
category: 'Tools',
|
||||
requiresRestart: false,
|
||||
default: true,
|
||||
description:
|
||||
'Enable shell output efficiency optimizations for better performance.',
|
||||
showInDialog: false,
|
||||
},
|
||||
},
|
||||
},
|
||||
autoAccept: {
|
||||
|
||||
Reference in New Issue
Block a user