From 7daed04ff5e9a917692c5b613c8f8cb41f3b1af8 Mon Sep 17 00:00:00 2001 From: "zhangkun9038@dingtalk.com" Date: Thu, 13 Feb 2025 00:04:19 +0800 Subject: [PATCH] add baidu --- lua/avante/config.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/avante/config.lua b/lua/avante/config.lua index 3667a40..8e02b06 100644 --- a/lua/avante/config.lua +++ b/lua/avante/config.lua @@ -145,10 +145,11 @@ M._defaults = { ---@type AvanteSupportedProvider ["baidu"] = { __inherited_from = "openai", - model = "deekseek-v1", + 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