feat: support Tencent Cloud
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run

--story=1017838 --user=王孝刚 【模型设置】支持腾讯云的大语言模型  issue#2230 https://www.tapd.cn/57709429/s/1653533
This commit is contained in:
wxg0103 2025-02-11 18:53:22 +08:00
parent b6a1781a9c
commit 1ace2c8d54

View File

@ -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()