Browse Source

Fix api_server: add new model

StrayWarrior 3 days ago
parent
commit
bcd8fe592d
1 changed files with 5 additions and 0 deletions
  1. 5 0
      api_server.py

+ 5 - 0
api_server.py

@@ -106,6 +106,11 @@ def list_models():
             'model_name': chat_service.VOLCENGINE_MODEL_DOUBAO_PRO_1_5,
             'display_name': '豆包Pro 1.5'
         },
+        {
+            'model_type': 'openai_compatible',
+            'model_name': chat_service.VOLCENGINE_BOT_DEEPSEEK_V3_SEARCH,
+            'display_name': 'DeepSeek V3联网 on 火山'
+        },
     ]
     return wrap_response(200, data=models)