|
@@ -14,7 +14,6 @@ import { KeycloakUserGroupSyncService } from '~/features/external-user-group/ser
|
|
|
import { LdapUserGroupSyncService } from '~/features/external-user-group/server/service/ldap-user-group-sync';
|
|
import { LdapUserGroupSyncService } from '~/features/external-user-group/server/service/ldap-user-group-sync';
|
|
|
import QuestionnaireService from '~/features/questionnaire/server/service/questionnaire';
|
|
import QuestionnaireService from '~/features/questionnaire/server/service/questionnaire';
|
|
|
import QuestionnaireCronService from '~/features/questionnaire/server/service/questionnaire-cron';
|
|
import QuestionnaireCronService from '~/features/questionnaire/server/service/questionnaire-cron';
|
|
|
-import { initializeOpenaiService } from '~/server/service/openai/openai';
|
|
|
|
|
import loggerFactory from '~/utils/logger';
|
|
import loggerFactory from '~/utils/logger';
|
|
|
import { projectRoot } from '~/utils/project-dir-utils';
|
|
import { projectRoot } from '~/utils/project-dir-utils';
|
|
|
|
|
|
|
@@ -487,9 +486,6 @@ Crowi.prototype.start = async function() {
|
|
|
// Execute this asynchronously after the express server is ready so it does not block the ongoing process
|
|
// Execute this asynchronously after the express server is ready so it does not block the ongoing process
|
|
|
this.asyncAfterExpressServerReady();
|
|
this.asyncAfterExpressServerReady();
|
|
|
|
|
|
|
|
- // initialize OpenAI service
|
|
|
|
|
- initializeOpenaiService();
|
|
|
|
|
-
|
|
|
|
|
return serverListening;
|
|
return serverListening;
|
|
|
};
|
|
};
|
|
|
|
|
|