Skip to content

Commit 5ffb74e

Browse files
authored
ensure default option is provided (microsoft#264951)
fix microsoft#264660
1 parent 0d4cdd4 commit 5ffb74e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/monitoring

src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/monitoring/outputMonitor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ export class OutputMonitor extends Disposable implements IOutputMonitor {
453453
this._lastPromptMarker = currentMarker;
454454
this._lastPrompt = prompt;
455455

456-
const promptText = `Given the following confirmation prompt and options from a terminal output, which option is the default or best value?\nPrompt: "${prompt}"\nOptions: ${JSON.stringify(options)}\nRespond with only the option string.`;
456+
const promptText = `Given the following confirmation prompt and options from a terminal output, which option is the default?\nPrompt: "${prompt}"\nOptions: ${JSON.stringify(options)}\nRespond with only the option string.`;
457457
const response = await this._languageModelsService.sendChatRequest(models[0], new ExtensionIdentifier('core'), [
458458
{ role: ChatMessageRole.User, content: [{ type: 'text', value: promptText }] }
459459
], {}, token);

0 commit comments

Comments
 (0)