Skip to content

Commit f40186c

Browse files
authored
Nudge the model to use the PR description view link in the response. (#7077)
1 parent 5a5a88f commit f40186c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/github/copilotRemoteAgent.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,7 @@ export class CopilotRemoteAgentManager extends Disposable {
271271
};
272272
const { pull_request } = await capiClient.postRemoteAgentJob(owner, repo, payload);
273273
const webviewUri = await toOpenPullRequestWebviewUri({ owner, repo, pullRequestNumber: pull_request.number });
274-
const prLlmString = `The remote agent has begun work. The user can track progress by visiting ${pull_request.html_url} or from the PR extension.`;
275-
this._onDidCreatePullRequest.fire(pull_request.number);
274+
const prLlmString = `The remote agent has begun work. The user can track progress by visiting ${pull_request.html_url} or from the PR extension. Format this VS Code webview link so the user can click it to also track progress: ${webviewUri.toString()}`;
276275
return {
277276
state: 'success',
278277
number: pull_request.number,

0 commit comments

Comments
 (0)