From 1ace2c8d54a1a2a442b170f059984c08913fb249 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Tue, 11 Feb 2025 18:53:22 +0800 Subject: [PATCH] feat: support Tencent Cloud MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --story=1017838 --user=王孝刚 【模型设置】支持腾讯云的大语言模型 issue#2230 https://www.tapd.cn/57709429/s/1653533 --- .../tencent_cloud_model_provider.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/setting/models_provider/impl/tencent_cloud_model_provider/tencent_cloud_model_provider.py b/apps/setting/models_provider/impl/tencent_cloud_model_provider/tencent_cloud_model_provider.py index 4dde0b866..2781165b2 100644 --- a/apps/setting/models_provider/impl/tencent_cloud_model_provider/tencent_cloud_model_provider.py +++ b/apps/setting/models_provider/impl/tencent_cloud_model_provider/tencent_cloud_model_provider.py @@ -33,7 +33,7 @@ model_info_list = [ ModelInfo('deepseek-v3', '', ModelTypeConst.LLM, openai_llm_model_credential, TencentCloudChatModel ), - ModelInfo('deepseek-r1', '', ModelTypeConst.IMAGE, + ModelInfo('deepseek-r1', '', ModelTypeConst.LLM, openai_llm_model_credential, TencentCloudChatModel ), ] @@ -42,7 +42,7 @@ model_info_manage = ( ModelInfoManage.builder() .append_model_info_list(model_info_list) .append_default_model_info( - ModelInfo('deepseek-v3', _('The latest gpt-3.5-turbo, updated with OpenAI adjustments'), ModelTypeConst.LLM, + ModelInfo('deepseek-v3', '', ModelTypeConst.LLM, openai_llm_model_credential, TencentCloudChatModel )) .build()