chore: update plugins & switch to siliconflow by default

This commit is contained in:
胡鑫
2025-02-20 09:51:26 +08:00
parent cb3c621541
commit f56ee816cd
2 changed files with 23 additions and 23 deletions
+22 -22
View File
@@ -140,26 +140,20 @@ return {
"MunifTanjim/nui.nvim",
},
opts = {
provider = "deepseek",
auto_suggestions_provider = "deepseek",
provider = "siliconflowchat",
auto_suggestions_provider = "siliconflowchat",
cursor_applying_provider = "siliconflowqwen",
file_selector = {
provider = "telescope",
provider_opts = {},
},
behaviour = {
enable_cursor_planning_mode = true,
},
vendors = {
deepseek = {
__inherited_from = "openai",
api_key_name = "DEEPSEEK_API_KEY",
endpoint = "https://api.deepseek.com/v1",
model = "deepseek-chat",
timeout = 30000,
temperature = 0,
max_tokens = 8192,
},
groq = {
__inherited_from = "openai",
api_key_name = "GROQ_API_KEY",
endpoint = "https://api.groq.com/openai/v1",
model = "qwen-2.5-coder-32b",
},
siliconflow = {
siliconflowchat = {
__inherited_from = "openai",
api_key_name = "SILICONFLOW_API_KEY",
endpoint = "https://api.siliconflow.cn/v1",
@@ -168,10 +162,16 @@ return {
temperature = 0,
max_tokens = 4096,
},
},
file_selector = {
provider = "telescope",
provider_opts = {},
siliconflowqwen = {
__inherited_from = "openai",
api_key_name = "SILICONFLOW_API_KEY",
endpoint = "https://api.siliconflow.cn/v1",
model = "Qwen/Qwen2.5-Coder-32B-Instruct",
timeout = 30000,
temperature = 0,
max_tokens = 4096,
},
},
}
}, {