mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 03:29:00 +01:00
Wait for agent loop to finish in automation (#262370)
* add `workbench.action.chat.open::waitForComplete`
* s/waitForCompletion/blockOnResponse
* cleanup tests
* remove unused comment
* Apply suggestion from @connor4312
Co-authored-by: Connor Peet <connor@peet.io>
* fixup tests
* don't block test loop on invokeTool
* Revert "don't block test loop on invokeTool"
This reverts commit d8d16dbe79.
* fix tool confirmation test
* attempt to account for the flip of isPendingConfirmation
* [DEBUG] debug CI flake
* register tool so it exists in all test envs
* finish configuring custom tool
* run test in seperate chat windows
* revert debug changes
* remove timeout dep
* fix assertion
* cleaup tests by examining output of command directly
---------
Co-authored-by: Connor Peet <connor@peet.io>
This commit is contained in:
@@ -87,6 +87,17 @@
|
||||
"commands": []
|
||||
}
|
||||
],
|
||||
"languageModelTools": [
|
||||
{
|
||||
"name": "requires_confirmation_tool",
|
||||
"toolReferenceName": "requires_confirmation_tool",
|
||||
"displayName": "Requires Confirmation Tool",
|
||||
"modelDescription": "A noop tool to trigger confirmation.",
|
||||
"canBeReferencedInPrompt": true,
|
||||
"icon": "$(files)",
|
||||
"inputSchema": {}
|
||||
}
|
||||
],
|
||||
"configuration": {
|
||||
"type": "object",
|
||||
"title": "Test Config",
|
||||
|
||||
Reference in New Issue
Block a user