fix: sensitive check

This commit is contained in:
archer
2023-06-12 18:29:22 +08:00
parent 71dd7f3e6c
commit 36a0ea7e43
6 changed files with 38 additions and 40 deletions

View File

@@ -9,7 +9,7 @@ import { pushChatBill } from '@/service/events/pushBill';
import { ChatRoleEnum } from '@/constants/chat';
import { withNextCors } from '@/service/utils/tools';
import { BillTypeEnum } from '@/constants/user';
import { sensitiveCheck } from '@/service/api/text';
import { sensitiveCheck } from '../../openapi/text/sensitiveCheck';
import { NEW_CHATID_HEADER } from '@/constants/chat';
import { Types } from 'mongoose';
import { appKbSearch } from '../kb/appKbSearch';