소스 검색

Fix api_server: add new model

StrayWarrior 3 일 전
부모
커밋
bcd8fe592d
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  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)