Add support for ModelScope API

This commit is contained in:
yanrk123
2025-03-11 11:12:57 +08:00
parent 436c038a2f
commit 3e185dbbfe
8 changed files with 219 additions and 4 deletions

View File

@@ -171,6 +171,9 @@ available_setting = {
"zhipu_ai_api_base": "https://open.bigmodel.cn/api/paas/v4",
"moonshot_api_key": "",
"moonshot_base_url": "https://api.moonshot.cn/v1/chat/completions",
#魔搭社区 平台配置
"modelscope_api_key": "",
"modelscope_base_url": "https://api-inference.modelscope.cn/v1/chat/completions",
# LinkAI平台配置
"use_linkai": False,
"linkai_api_key": "",