add baidu

This commit is contained in:
zhangkun9038@dingtalk.com 2025-02-13 00:04:19 +08:00
parent 71ac22a864
commit 7daed04ff5

View File

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