You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
content.push(localize('chatAgent.userActionRequired','An alert will indicate when user action is required. For example, if the agent wants to run something in the terminal, you will hear Action Required: Run Command in Terminal.'));
101
101
content.push(localize('chatAgent.runCommand','To take the action, use the accept tool command{0}.','<keybinding:workbench.action.chat.acceptTool>'));
102
-
content.push(localize('chatAgent.autoApprove','To automatically approve tool actions without manual confirmation, set {0} to {1} in your settings.',ChatConfiguration.GlobalAutoApprove,'true'));
102
+
content.push(localize('chatAgent.autoApprove','To automatically approve tool actions without manual confirmation, set chat.tools.autoApprove to true in your settings.'));
103
103
content.push(localize('chatAgent.acceptTool','To accept a tool action, use the Accept Tool Confirmation command{0}.','<keybinding:workbench.action.chat.acceptTool>'));
104
104
content.push(localize('chatAgent.openEditedFilesSetting','By default, when edits are made to files, they will be opened. To change this behavior, set accessibility.openChatEditedFiles to false in your settings.'));
description: nls.localize('chat.notifyWindowOnConfirmation',"Controls whether a chat session should notify the user when a confirmation is needed while the window is not in focus. This includes a window badge as well as notification toast."),
236
236
default: true,
237
237
},
238
-
[ChatConfiguration.GlobalAutoApprove]: {
238
+
'chat.tools.autoApprove': {
239
239
default: false,
240
240
// Description is added in for policy parser. See https://github.com/microsoft/vscode/issues/254526
description: nls.localize('chat.tools.autoApprove.description',"Controls whether tool use should be automatically approved. Allow all tools to run automatically without user confirmation, overriding any tool-specific settings such as terminal auto-approval. Use with caution: carefully review selected tools and be extra wary of possible sources of prompt injection!"),
242
+
markdownDescription: nls.localize('chat.tools.autoApprove.markdownDescription',"Controls whether tool use should be automatically approved.\n\nAllows _all_ tools to run automatically without user confirmation, overriding any tool-specific settings such as terminal auto-approval.\n\nUse with caution: carefully review selected tools and be extra wary of possible sources of prompt injection!"),
Copy file name to clipboardExpand all lines: src/vs/workbench/contrib/chat/browser/chatContentParts/toolInvocationParts/chatTerminalToolProgressPart.ts
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,6 @@ import { TerminalContribSettingId } from '../../../../terminal/terminalContribEx
'Global auto approve also known as "YOLO mode" disables manual approval completely for _all tools in all workspaces_, allowing the agent to act fully autonomously. This is extremely dangerous and is *never* recommended, even containerized environments like [Codespaces](https://github.com/features/codespaces) and [Dev Containers](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers) have user keys forwarded into the container that could be compromised.\n\n**This feature disables [critical security protections](https://code.visualstudio.com/docs/copilot/security) and makes it much easier for an attacker to compromise the machine.**'
0 commit comments