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 {
283283 } ;
284284
285285 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.' ) ;
287288 if ( source !== 'prompt' && hasChanges && this . autoCommitAndPushEnabled ( ) ) {
289+ // Pending changes modal
288290 const modalResult = await vscode . window . showInformationMessage (
289291 message ,
290292 {
291293 modal : true ,
292- detail : vscode . l10n . t ( 'Local changes detected' ) ,
294+ detail,
293295 } ,
294296 PUSH_CHANGES ,
295297 CONTINUE_WITHOUT_PUSHING ,
@@ -309,10 +311,12 @@ export class CopilotRemoteAgentManager extends Disposable {
309311 autoPushAndCommit = true ;
310312 }
311313 } else {
314+ // No pending changes modal
312315 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' ) ,
314317 {
315318 modal : true ,
319+ detail : source !== 'prompt' ? detail : undefined
316320 } ,
317321 CONTINUE ,
318322 LEARN_MORE ,
You can’t perform that action at this time.
0 commit comments