Information
This policy setting controls auto-approval for agent mode chat tools.
The recommended state for this setting is: Disabled.
Automatic activation of agent mode tools may result in inadvertent disclosure of sensitive data to third-party servers backing the chat tool or unexpected modification to project files.
Solution
To establish the recommended configuration via GP, set the following UI path to Disabled :
Computer Configuration\Policies\Administrative Templates\Visual Studio Code\Chat\ChatToolsAutoApprove
Note : This Group Policy path may not exist by default. It is provided by the Group Policy template VScode.admx, which is available in the VS Code installation directory under the policies folder.
Impact:
Users will need to manually approve agent mode before it can be used.