chore: update plugins & switch to siliconflow by default
This commit is contained in:
parent
cb3c621541
commit
f56ee816cd
|
|
@ -23,7 +23,7 @@
|
|||
"nvim-cmp": { "branch": "main", "commit": "12509903a5723a876abd65953109f926f4634c30" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "1110787f1b464888c59a044c48c5119d14078044" },
|
||||
"nvim-surround": { "branch": "main", "commit": "ae298105122c87bbe0a36b1ad20b06d417c0433e" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "1a6e42bb8c5c23d8e2c0acb842dcacac5ee06761" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "cb8e810a1ea3f562e95a259df3065c7c23decf7a" },
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "1020869742ecb191f260818234517f4a1515cfe8" },
|
||||
"plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" },
|
||||
"render-markdown.nvim": { "branch": "main", "commit": "4a28c135bc3548e398ba38178fec3f705cb26fe6" },
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
},
|
||||
},
|
||||
}
|
||||
}, {
|
||||
|
|
|
|||
Loading…
Reference in New Issue