yxmiler commited on
Commit
7a6bf6b
·
verified ·
1 Parent(s): b1d5865

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +4 -1
index.js CHANGED
@@ -1306,7 +1306,10 @@ class Server {
1306
  this.app.get('/v1/models', (req, res) => {
1307
  this.apiProxy.handleModelsRequest(req, res);
1308
  });
1309
-
 
 
 
1310
  // 健康检查接口
1311
  this.app.get('/health', (req, res) => {
1312
  res.json({
 
1306
  this.app.get('/v1/models', (req, res) => {
1307
  this.apiProxy.handleModelsRequest(req, res);
1308
  });
1309
+ // 模型列表接口
1310
+ this.app.get('/fakestream/v1/models', (req, res) => {
1311
+ this.apiProxy.handleModelsRequest(req, res);
1312
+ });
1313
  // 健康检查接口
1314
  this.app.get('/health', (req, res) => {
1315
  res.json({