Skip to content

Commit

Permalink
Suggest a fix with Copilot results in an error `Tool copilot_codebase…
Browse files Browse the repository at this point in the history
… was not contributed` (#6639) (#6642)

Fixes #6632
  • Loading branch information
alexr00 authored Feb 12, 2025
1 parent 7daa11a commit efeddb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lm/tools/suggestFixTool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class SuggestFixTool extends RepoToolBase<IssueToolParameters> {
messages.push(vscode.LanguageModelChatMessage.User(`Comment ${index}: ${comment.body}`));
});

const copilotCodebaseResult = await vscode.lm.invokeTool('copilot_codebase', {
const copilotCodebaseResult = await vscode.lm.invokeTool('copilot_searchCodebase', {
toolInvocationToken: undefined,
input: {
query: result.title
Expand Down

0 comments on commit efeddb4

Please sign in to comment.