che-astronvim-config/lua/plugins/avante-nvim.lua
2025-09-05 22:13:43 +00:00

30 lines
791 B
Lua

if true then return {} end -- WARN: REMOVE THIS LINE TO ACTIVATE THIS FILE
---@type LazySpec
return {
{ -- further customize the options set by the community
"yetone/avante.nvim",
version = "0.0.27",
---@type avante.Config
opts = {
provider = "deepseek",
auto_suggestions_provider = "deepseek",
-- mode = "legacy",
-- behaviour = {
-- auto_apply_diff_after_generation = false,
-- auto_focus_on_diff_view = true,
-- },
providers = {
deepseek = {
__inherited_from = "openai",
api_key_name = "DEEPSEEK_API_KEY",
endpoint = "https://api.deepseek.com",
model = "deepseek-coder",
max_tokens = 8192,
-- disable_tools = true,
},
},
},
},
}