avante & upgrades

This commit is contained in:
hyper
2025-01-05 15:01:57 +08:00
parent ddab026923
commit 2ce4a97439
2 changed files with 32 additions and 9 deletions
+21
View File
@@ -113,5 +113,26 @@ return {
end,
}, {
"famiu/bufdelete.nvim"
}, {
"yetone/avante.nvim",
event = 'VeryLazy',
lazy = false,
build = "powershell -ExecutionPolicy Bypass -File Build.ps1 -BuildFromSource false",
dependencies = {
"stevearc/dressing.nvim",
"nvim-lua/plenary.nvim",
"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 = 4096,
},
}
}
}