Skip to content

Commit c506da9

Browse files
authored
Suggest a fix with Copilot results in an error Tool copilot_codebase was not contributed (#6639)
Part of #6632
1 parent db14f4a commit c506da9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lm/tools/suggestFixTool.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export class SuggestFixTool extends RepoToolBase<IssueToolParameters> {
5858
messages.push(vscode.LanguageModelChatMessage.User(`Comment ${index}: ${comment.body}`));
5959
});
6060

61-
const copilotCodebaseResult = await vscode.lm.invokeTool('copilot_codebase', {
61+
const copilotCodebaseResult = await vscode.lm.invokeTool('copilot_searchCodebase', {
6262
toolInvocationToken: undefined,
6363
input: {
6464
query: result.title

0 commit comments

Comments
 (0)