add baidu
This commit is contained in:
parent
71ac22a864
commit
7daed04ff5
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user