We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4534bb commit c361accCopy full SHA for c361acc
src/lm/tools/activePullRequestTool.ts
@@ -148,7 +148,7 @@ export class ActivePullRequestTool implements vscode.LanguageModelTool<FetchIssu
148
currentApprovals: status[1]?.approvals.length ?? 0,
149
areChangesRequested: (status[1]?.requestedChanges.length ?? 0) > 0,
150
},
151
- isDraft: pullRequest.isDraft,
+ isDraft: pullRequest.isDraft ? 'is a draft and cannot be merged until marked as ready for review' : 'false',
152
codingAgentSession,
153
changes: (await pullRequest.getFileChangesInfo()).map(change => {
154
if (change instanceof InMemFileChange) {
0 commit comments