tweak: try to use aliyun qwen32 for merge & complete

This commit is contained in:
胡鑫
2025-02-21 10:55:35 +08:00
parent f56ee816cd
commit ffde2ccc24
2 changed files with 23 additions and 20 deletions
+18 -15
View File
@@ -141,8 +141,8 @@ return {
},
opts = {
provider = "siliconflowchat",
auto_suggestions_provider = "siliconflowchat",
cursor_applying_provider = "siliconflowqwen",
auto_suggestions_provider = "qwen32",
cursor_applying_provider = "qwen32",
file_selector = {
provider = "telescope",
@@ -153,24 +153,27 @@ return {
},
vendors = {
qwenmax = {
__inherited_from = "openai",
api_key_name = "QWEN_API_KEY",
endpoint = "https://dashscope.aliyuncs.com/compatible-mode/v1/",
model = "qwen-max",
disable_tools = true,
},
qwen32 = {
__inherited_from = "openai",
api_key_name = "QWEN_API_KEY",
endpoint = "https://dashscope.aliyuncs.com/compatible-mode/v1/",
model = "qwen2.5-coder-32b-instruct",
disable_tools = true,
},
siliconflowchat = {
__inherited_from = "openai",
api_key_name = "SILICONFLOW_API_KEY",
endpoint = "https://api.siliconflow.cn/v1",
model = "Pro/deepseek-ai/DeepSeek-V3",
timeout = 30000,
temperature = 0,
max_tokens = 4096,
},
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,
},
},
}