Update index.js
Browse files
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({
|