add baidu

This commit is contained in:
zhangkun9038@dingtalk.com 2025-02-13 00:41:25 +08:00
parent 7daed04ff5
commit 79ded43408

View File

@ -142,16 +142,16 @@ M._defaults = {
temperature = 0,
max_tokens = 8000,
},
---@type AvanteSupportedProvider
["baidu"] = {
__inherited_from = "openai",
model = "deekseek-r1",
timeout = 30000, -- Timeout in milliseconds
temperature = 0,
max_tokens = 8000,
endpoint = "https://qianfan.baidubce.com/v2/chat/completions",
appid = "app-QzGDePL0",
},
------@type AvanteSupportedProvider
---["baidu"] = {
--- __inherited_from = "openai",
--- model = "deekseek-r1",
--- timeout = 30000, -- Timeout in milliseconds
--- temperature = 0,
--- max_tokens = 8000,
--- endpoint = "https://qianfan.baidubce.com/v2/chat/completions",
--- appid = "app-QzGDePL0",
---},
---@type AvanteSupportedProvider
["claude-opus"] = {
__inherited_from = "claude",