You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constresponse=awaitlanguageModelsService.sendChatRequest(models[0],newExtensionIdentifier('github.copilot-chat'),[{role: ChatMessageRole.User,content: [{type: 'text',value: `Evaluate this terminal output to determine if there were errors or if the command ran successfully: ${buffer}.`}]}],{},token);
236
+
constresponse=awaitlanguageModelsService.sendChatRequest(models[0],newExtensionIdentifier('core'),[{role: ChatMessageRole.User,content: [{type: 'text',value: `Evaluate this terminal output to determine if there were errors or if the command ran successfully: ${buffer}.`}]}],{},token);
constresponse=awaitthis._languageModelsService.sendChatRequest(models[0],newExtensionIdentifier('github.copilot-chat'),[{role: ChatMessageRole.User,content: [{type: 'text',value: `Evaluate this terminal output to determine if there were errors or if the command ran successfully: ${buffer}.`}]}],{},token);
250
+
constresponse=awaitthis._languageModelsService.sendChatRequest(models[0],newExtensionIdentifier('core'),[{role: ChatMessageRole.User,content: [{type: 'text',value: `Evaluate this terminal output to determine if there were errors or if the command ran successfully: ${buffer}.`}]}],{},token);
constpromptText=`Given the following confirmation prompt and options from a terminal output, which option should be selected to proceed safely and correctly?\nPrompt: "${sanitizedPrompt}"\nOptions: ${JSON.stringify(sanitizedOptions)}\nRespond with only the option string.`;
0 commit comments