chore(server): enable copilot in doc service (#10850)

This commit is contained in:
darkskygit
2025-03-14 07:07:28 +00:00
parent d1c10f5401
commit 95cbdc7900
4 changed files with 34 additions and 3 deletions

View File

@@ -60,7 +60,7 @@ registerCopilotProvider(PerplexityProvider);
controllers: [CopilotController],
contributesTo: ServerFeature.Copilot,
if: config => {
if (config.flavor.graphql) {
if (config.flavor.graphql || config.flavor.doc) {
return assertProvidersConfigs(config);
}
return false;