-
Notifications
You must be signed in to change notification settings - Fork 39k
Test tool combination approval with Copilot Chat #305635
Copy link
Copy link
Closed
Labels
Milestone
Description
Complexity: 4
Context
We allow tools to indicate whether they need approval to run, but a tool might have a different effect based on the arguments passed to it. The idea of this feature is to give the extension a way to have approval for a specific tool + arguments combination. The built-in "Run VS Code Command" tool implements this new feature.
Testing
- Install latest insiders + Copilot Chat pre-release
- If you can, come up with a VS Code command that requires specific arguments to ask Chat to run, and ask Chat to run it. If not, you can use the "Show Search View Results" command as follows:
a. Search for something in the search view
b. Keep the search view open
c. Ask Chat about what's in the search view - Verify that in the dropdown button that, in addition to the usual "approve", "approve in the session", "approve for the workspace", you also have approval "session" and "workspace" options for the specific arguments that the tool was provided.
- Verify that the new approval options work as you'd expect.
- Verify that you can manage your "combination approvals" in the "Manage Tool Approval" quick pick.
Reactions are currently unavailable