gitdeem commited on
Commit
a382a78
1 Parent(s): 7a2dc96

Upload app.ts

Browse files
Files changed (1) hide show
  1. app.ts +1 -1
app.ts CHANGED
@@ -7,7 +7,7 @@ import path from 'path';
7
  import { whiteListMiddleware } from './middleware';
8
  import history from 'koa2-connect-history-api-fallback';
9
  import { chatStreamController, localChatStreamController, localModelsController, modelsController, searchController, sogouSearchController } from './controller';
10
- import { initializeModels } from './constant'; // 请确保路径正确
11
 
12
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
13
  // @ts-ignore
 
7
  import { whiteListMiddleware } from './middleware';
8
  import history from 'koa2-connect-history-api-fallback';
9
  import { chatStreamController, localChatStreamController, localModelsController, modelsController, searchController, sogouSearchController } from './controller';
10
+ import { initializeModels } from './utils/constant'; // 请确保路径正确
11
 
12
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
13
  // @ts-ignore