-
Notifications
You must be signed in to change notification settings - Fork 34.3k
Open
Labels
chat-terminalThe run in terminal tool in chatThe run in terminal tool in chatfeature-requestRequest for new features or functionalityRequest for new features or functionality
Milestone
Description
We have these currently:
- Alternative recommendations that route run in terminal tool requests to python/jupyter extensions
vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalTool.ts
Lines 355 to 362 in adcf093
if (toolSpecificData.alternativeRecommendation) { return { content: [{ kind: 'text', value: toolSpecificData.alternativeRecommendation }] }; } - Command re-writing when we can remove redundancies in the command to simplify chat and the resulting command
vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalTool.ts
Line 201 in adcf093
let toolEditedCommand: string | undefined = await this._rewriteCommandIfNeeded(args, instance, shell);
We should have a general mechanism for re-routing requests to more "native" tools. For example a simple mkdir
call should prefer the CreateDirectoryTool
.
Copilot
Metadata
Metadata
Labels
chat-terminalThe run in terminal tool in chatThe run in terminal tool in chatfeature-requestRequest for new features or functionalityRequest for new features or functionality