1435
});
1436
if (isTroubleshootCommand || hasTroubleshootSkill) {
1437
>
request = model.addRequest(parsedRequest, { variables: [] }, attempt, options?.modeInfo);
chatServiceImpl.ts
1438
>
completeResponseCreated();
1439
>
1440
>
const settingsArg = encodeURIComponent(JSON.stringify(AGENT_DEBUG_LOG_FILE_LOGGING_ENABLED_SETTING));
1441
>
model.acceptResponseProgress(request, {
1442
>
kind: 'markdownContent',
1443
>
content: new MarkdownString(localize(
1444
>
'agentDebugLog.troubleshootDisabled',
1445
>
"The `{0}` skill requires `{1}` to be enabled. After enabling, reload the window to apply. [Enable in Settings](command:workbench.action.openSettings?{2})",
1446
>
TROUBLESHOOT_COMMAND_NAME,
1447
>
AGENT_DEBUG_LOG_FILE_LOGGING_ENABLED_SETTING,
1448
>
settingsArg
1449
>
), { isTrusted: { enabledCommands: ['workbench.action.openSettings'] } }),
1450
>
});
1451
>
model.setResponse(request, {});
1452
>
request.response?.complete();
1453
>
store.dispose();
1454
>
return;
1455
>
}
1456
}
1457
}