add baidu
This commit is contained in:
parent
7daed04ff5
commit
79ded43408
@ -142,16 +142,16 @@ M._defaults = {
|
|||||||
temperature = 0,
|
temperature = 0,
|
||||||
max_tokens = 8000,
|
max_tokens = 8000,
|
||||||
},
|
},
|
||||||
---@type AvanteSupportedProvider
|
------@type AvanteSupportedProvider
|
||||||
["baidu"] = {
|
---["baidu"] = {
|
||||||
__inherited_from = "openai",
|
--- __inherited_from = "openai",
|
||||||
model = "deekseek-r1",
|
--- 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",
|
--- endpoint = "https://qianfan.baidubce.com/v2/chat/completions",
|
||||||
appid = "app-QzGDePL0",
|
--- appid = "app-QzGDePL0",
|
||||||
},
|
---},
|
||||||
---@type AvanteSupportedProvider
|
---@type AvanteSupportedProvider
|
||||||
["claude-opus"] = {
|
["claude-opus"] = {
|
||||||
__inherited_from = "claude",
|
__inherited_from = "claude",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user