File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -283,13 +283,15 @@ export class CopilotRemoteAgentManager extends Disposable {
283
283
} ;
284
284
285
285
let autoPushAndCommit = false ;
286
- const message = vscode . l10n . t ( 'Copilot coding agent will continue your work in \'{0}\'' , repoName ) ;
286
+ const message = vscode . l10n . t ( 'Copilot coding agent will continue your work in \'{0}\'.' , repoName ) ;
287
+ const detail = vscode . l10n . t ( 'Your current chat session will end, and its context will be used to continue your work in a new pull request.' ) ;
287
288
if ( source !== 'prompt' && hasChanges && this . autoCommitAndPushEnabled ( ) ) {
289
+ // Pending changes modal
288
290
const modalResult = await vscode . window . showInformationMessage (
289
291
message ,
290
292
{
291
293
modal : true ,
292
- detail : vscode . l10n . t ( 'Local changes detected' ) ,
294
+ detail,
293
295
} ,
294
296
PUSH_CHANGES ,
295
297
CONTINUE_WITHOUT_PUSHING ,
@@ -309,10 +311,12 @@ export class CopilotRemoteAgentManager extends Disposable {
309
311
autoPushAndCommit = true ;
310
312
}
311
313
} else {
314
+ // No pending changes modal
312
315
const modalResult = await vscode . window . showInformationMessage (
313
- ( source !== 'prompt' ? message : vscode . l10n . t ( 'Copilot coding agent will implement the specification outlined in this prompt file' ) ) ,
316
+ source !== 'prompt' ? message : vscode . l10n . t ( 'Copilot coding agent will implement the specification outlined in this prompt file' ) ,
314
317
{
315
318
modal : true ,
319
+ detail : source !== 'prompt' ? detail : undefined
316
320
} ,
317
321
CONTINUE ,
318
322
LEARN_MORE ,
You can’t perform that action at this time.
0 commit comments