1429
const fileLoggingEnabled = this.configurationService.getValue<boolean>(AGENT_DEBUG_LOG_FILE_LOGGING_ENABLED_SETTING);
1430
if (!fileLoggingEnabled) {
1431
>
const isTroubleshootCommand = agentSlashCommandPart?.command.name === TROUBLESHOOT_COMMAND_NAME;
chatServiceImpl.ts
1432
>
const hasTroubleshootSkill = options?.attachedContext?.some(v => {
1433
const uri = IChatRequestVariableEntry.toUri(v);
1434
return uri && (uri.scheme === COPILOT_SKILL_URI_SCHEME || uri.path.includes(TROUBLESHOOT_SKILL_PATH));
1436
>
if (isTroubleshootCommand || hasTroubleshootSkill) {
1437
request = model.addRequest(parsedRequest, { variables: [] }, attempt, options?.modeInfo);
1438
completeResponseCreated();