You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
invocationMessage: vscode.l10n.t('Searching for issues with "{0}". [Open on GitHub.com]({1})',escapeMarkdown(parameterQuery),escapeMarkdown(this.toGitHubUrl(parameterQuery)))
invocationMessage: options.parameters.issueNumber ? vscode.l10n.t('Suggesting a fix for issue #{0}',options.parameters.issueNumber) : vscode.l10n.t('Suggesting a fix for the issue')
22
+
invocationMessage: options.input.issueNumber ? vscode.l10n.t('Suggesting a fix for issue #{0}',options.input.issueNumber) : vscode.l10n.t('Suggesting a fix for the issue')
thrownewError(`No issue found for ${options.parameters.repo.owner}/${options.parameters.repo.name}/${options.parameters.issueNumber}. Make sure the issue exists.`);
33
+
thrownewError(`No issue found for ${options.input.repo.owner}/${options.input.repo.name}/${options.input.issueNumber}. Make sure the issue exists.`);
34
34
}
35
35
36
36
constresult: IssueResult={
@@ -53,7 +53,7 @@ export class SuggestFixTool extends RepoToolBase<IssueToolParameters> {
messages.push(vscode.LanguageModelChatMessage.User(`Below is some potential relevant workspace context to the issue. The user cannot see this result, so you should explain it to the user if referencing it in your answer.`));
0 commit comments