Skip to content

Commit b879fa6

Browse files
committed
Updates
1 parent 11eb426 commit b879fa6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/extension/chatSessions/copilotcli/node/copilotcliSession.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -458,8 +458,8 @@ export class CopilotCLISession extends DisposableStore implements ICopilotCLISes
458458
}
459459
const actionDescriptions: Record<string, { label: string; description: string }> = {
460460
'autopilot': { label: 'Autopilot', description: l10n.t('Auto-approve all tool calls and continue until the task is done') },
461-
'interactive': { label: 'Interactive', description: l10n.t('Let the agent continue in interactive mode, asking for user input and approval for each action.') },
462-
'exit_only': { label: 'Approve and exit plan mode', description: l10n.t('Exit plan mode, but do not execute the plan. I will execute the plan myself after reviewing it.') },
461+
'interactive': { label: 'Interactive', description: l10n.t('Let the agent continue in interactive mode, asking for input and approval for each action.') },
462+
'exit_only': { label: 'Approve and exit', description: l10n.t('Exit planning, but do not execute the plan. I will execute the plan myself.') },
463463
'autopilot_fleet': { label: 'Autopilot Fleet', description: l10n.t('Auto-approve all tool calls, including fleet management actions, and continue until the task is done.') },
464464
} satisfies Record<ActionType, { label: string; description: string }>;
465465

src/extension/chatSessions/vscode-node/askUserQuestionHandler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export class UserQuestionHandler implements IUserQuestionHandler {
4646
// Log all available keys in carouselAnswers for debugging
4747
this._logService.trace(`[AskQuestionsTool] Question & answers ${question.question}, Answers object: ${JSON.stringify(carouselAnswers)}`);
4848

49-
const answer = carouselAnswers.answers[question.question];
49+
const answer = carouselAnswers.answers[question.question] ?? carouselAnswers.answers[question.header];
5050
if (answer === undefined) {
5151
return undefined;
5252
} else if (answer.freeText) {

0 commit comments

Comments
 (0)