|
|
@@ -3,6 +3,7 @@ import { ErrorV3 } from '@growi/core/dist/models';
|
|
|
import type { Request, RequestHandler } from 'express';
|
|
|
import { body, param, type ValidationChain } from 'express-validator';
|
|
|
import { isHttpError } from 'http-errors';
|
|
|
+
|
|
|
import type Crowi from '~/server/crowi';
|
|
|
import { accessTokenParser } from '~/server/middlewares/access-token-parser';
|
|
|
import { apiV3FormValidator } from '~/server/middlewares/apiv3-form-validator';
|
|
|
@@ -11,7 +12,6 @@ import loggerFactory from '~/utils/logger';
|
|
|
|
|
|
import AiAssistantModel from '../models/ai-assistant';
|
|
|
import { getOpenaiService } from '../services/openai';
|
|
|
-
|
|
|
import { certifyAiService } from './middlewares/certify-ai-service';
|
|
|
|
|
|
const logger = loggerFactory(
|