feat: avante provider switcher?
This commit is contained in:
parent
b0279980c3
commit
4164174c1a
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"actions-preview.nvim": { "branch": "master", "commit": "9f52a01c374318e91337697ebed51c6fae57f8a4" },
|
||||
"avante.nvim": { "branch": "main", "commit": "5ac934f2283d20ff805467d79ca6b4727eb0101e" },
|
||||
"avante.nvim": { "branch": "main", "commit": "85645fd9abd8b8d66013caa56ae9045afbf2978b" },
|
||||
"bufdelete.nvim": { "branch": "master", "commit": "f6bcea78afb3060b198125256f897040538bcb81" },
|
||||
"bufferline.nvim": { "branch": "main", "commit": "655133c3b4c3e5e05ec549b9f8cc2894ac6f51b3" },
|
||||
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
"cmp-nvim-ultisnips": { "branch": "main", "commit": "2be0eda0f7fbf47ebd9fbdace369cc45d57acf49" },
|
||||
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
|
||||
"conform.nvim": { "branch": "master", "commit": "363243c03102a531a8203311d4f2ae704c620d9b" },
|
||||
"csvview.nvim": { "branch": "main", "commit": "092fada3e43b61fe7573bf439e1bc92f1e304f2b" },
|
||||
"csvview.nvim": { "branch": "main", "commit": "22eb36a8d17b15bdb0d934381198089bad1e4b7d" },
|
||||
"dressing.nvim": { "branch": "master", "commit": "56ef6a969a4990d938c5fed40c370f65e125fc97" },
|
||||
"flash.nvim": { "branch": "main", "commit": "f899265876ecdcf7352dbc9f0adf87068cedefbb" },
|
||||
"gitsigns.nvim": { "branch": "main", "commit": "9b36d497495436c135659902054ee637e0ba6021" },
|
||||
|
|
@ -21,12 +21,12 @@
|
|||
"neo-tree.nvim": { "branch": "v3.x", "commit": "5d172e8315444dbc32867d1c7b04d8e7e68ec4e1" },
|
||||
"nui.nvim": { "branch": "main", "commit": "53e907ffe5eedebdca1cd503b00aa8692068ca46" },
|
||||
"nvim-cmp": { "branch": "main", "commit": "12509903a5723a876abd65953109f926f4634c30" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "f98fa715acc975c2dd5fb5ba7ceddeb1cc725ad2" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "66bc018936c6ff76beb75f89d986af6442db4001" },
|
||||
"nvim-surround": { "branch": "main", "commit": "ae298105122c87bbe0a36b1ad20b06d417c0433e" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "2497d9558d12023e058de2782fc25bc4f405f870" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "4e701776f8824fc188a6254f57d080971ce28c92" },
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "402377242b04be3f4f0f3720bd952df86e946c30" },
|
||||
"plenary.nvim": { "branch": "master", "commit": "3707cdb1e43f5cea73afb6037e6494e7ce847a66" },
|
||||
"render-markdown.nvim": { "branch": "main", "commit": "46b0d4125fa5ef6d93a867d540f7c422c339ecc2" },
|
||||
"render-markdown.nvim": { "branch": "main", "commit": "2a9e0ab6043bfb4996ce6a6a35594ab357e5d299" },
|
||||
"telescope.nvim": { "branch": "master", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" },
|
||||
"todo-comments.nvim": { "branch": "main", "commit": "304a8d204ee787d2544d8bc23cd38d2f929e7cc5" },
|
||||
"trouble.nvim": { "branch": "main", "commit": "6f380b8826fb819c752c8fd7daaee9ef96d4c689" },
|
||||
|
|
|
|||
|
|
@ -140,19 +140,42 @@ return {
|
|||
"MunifTanjim/nui.nvim",
|
||||
},
|
||||
opts = {
|
||||
provider = "openai",
|
||||
auto_suggestions_provider = "openai",
|
||||
openai = {
|
||||
endpoint = "https://api.deepseek.com/v1",
|
||||
model = "deepseek-chat",
|
||||
timeout = 30000,
|
||||
temperature = 0,
|
||||
max_tokens = 8192,
|
||||
},
|
||||
file_selector = {
|
||||
provider = "telescope",
|
||||
provider_opts = {},
|
||||
},
|
||||
provider = "deepseek",
|
||||
auto_suggestions_provider = "deepseek",
|
||||
|
||||
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 = "deepseek-r1-distill-llama-70b",
|
||||
timeout = 30000,
|
||||
temperature = 0,
|
||||
max_tokens = 8192,
|
||||
},
|
||||
siliconflow = {
|
||||
__inherited_from = "openai",
|
||||
api_key_name = "SILICONFLOW_API_KEY",
|
||||
endpoint = "https://api.siliconflow.cn/v1",
|
||||
model = "deepseek-ai/DeepSeek-V3",
|
||||
timeout = 30000,
|
||||
temperature = 0,
|
||||
max_tokens = 4096,
|
||||
},
|
||||
},
|
||||
file_selector = {
|
||||
provider = "telescope",
|
||||
provider_opts = {},
|
||||
},
|
||||
}
|
||||
}, {
|
||||
'hat0uma/csvview.nvim',
|
||||
|
|
|
|||
Loading…
Reference in New Issue