Skip to content

Commit 335ff5d

Browse files
committed
more comments
1 parent eecd171 commit 335ff5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -662,10 +662,10 @@ export class CreateRemoteAgentJobAction extends Action2 {
662662
userPrompt,
663663
summary: summary || userPrompt,
664664
followup,
665-
_version: 2,
665+
_version: 2, // Signal that we support the new response format
666666
});
667667

668-
if (result && typeof result === 'object' /* _version === 2 */) {
668+
if (result && typeof result === 'object') { /* _version === 2 */
669669
chatModel.acceptResponseProgress(addedRequest, { kind: 'pullRequest', ...result });
670670
} else if (typeof result === 'string') {
671671
chatModel.acceptResponseProgress(addedRequest, {

0 commit comments

Comments
 (0)