Skip to content

Commit ffdc173

Browse files
authored
add non-markdown description back for chat.tools.autoApprove (microsoft#254529)
add non-markdown description back for chat.tools.autoApprove
1 parent 8f62869 commit ffdc173

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/vs/workbench/contrib/chat/browser/chat.contribution.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,9 @@ configurationRegistry.registerConfiguration({
213213
},
214214
'chat.tools.autoApprove': {
215215
default: false,
216-
markdownDescription: nls.localize('chat.tools.autoApprove', "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!"),
216+
// Description is added in for policy parser. See https://github.com/microsoft/vscode/issues/254526
217+
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!"),
218+
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!"),
217219
type: 'boolean',
218220
tags: ['experimental'],
219221
policy: {

0 commit comments

Comments
 (0)