feat: added avante
This commit is contained in:
+1
-2
@@ -1,5 +1,3 @@
|
||||
if true then return {} end -- WARN: REMOVE THIS LINE TO ACTIVATE THIS FILE
|
||||
|
||||
-- AstroCommunity: import any community modules here
|
||||
-- We import this file in `lazy_setup.lua` before the `plugins/` folder.
|
||||
-- This guarantees that the specs are processed before any user plugins.
|
||||
@@ -8,5 +6,6 @@ if true then return {} end -- WARN: REMOVE THIS LINE TO ACTIVATE THIS FILE
|
||||
return {
|
||||
"AstroNvim/astrocommunity",
|
||||
{ import = "astrocommunity.pack.lua" },
|
||||
{ import = "astrocommunity.completion.avante-nvim" },
|
||||
-- import/override with your plugins folder
|
||||
}
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
return {
|
||||
{ -- further customize the options set by the community
|
||||
"yetone/avante.nvim",
|
||||
opts = {
|
||||
provider = "deepseek",
|
||||
providers = {
|
||||
deepseek = {
|
||||
__inherited_from = "openai",
|
||||
api_key_name = "DEEPSEEK_API_KEY",
|
||||
endpoint = "https://api.deepseek.com",
|
||||
model = "deepseek-coder",
|
||||
max_tokens = 8192,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user