File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -276,7 +276,7 @@ export interface SessionInfo {
276
276
agent_id : number ;
277
277
logs : string ;
278
278
logs_blob_id : string ;
279
- state : 'completed' | 'in_progress' | string ;
279
+ state : 'completed' | 'in_progress' | 'failed' | string ;
280
280
owner_id : number ;
281
281
repo_id : number ;
282
282
resource_type : string ;
Original file line number Diff line number Diff line change @@ -1376,7 +1376,7 @@ export class CopilotRemoteAgentManager extends Disposable {
1376
1376
responseParts . push ( new vscode . ChatResponseMarkdownPart ( currentResponseContent . trim ( ) ) ) ;
1377
1377
}
1378
1378
1379
- if ( session . state === 'completed' ) {
1379
+ if ( session . state === 'completed' || session . state === 'failed' /** session can fail with proposed changes */ ) {
1380
1380
const fileChangesPart = await this . getFileChangesMultiDiffPart ( pullRequest ) ;
1381
1381
if ( fileChangesPart ) {
1382
1382
responseParts . push ( fileChangesPart ) ;
You can’t perform that action at this time.
0 commit comments