You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.2 KiB
44 lines
1.2 KiB
return { |
|
"yetone/avante.nvim", |
|
event = "VeryLazy", |
|
version = false, |
|
---@module 'avante' |
|
---@type avante.Config |
|
opts = { |
|
instructions_file = "avante.md", |
|
provider = "deepseek/coder", |
|
providers = { |
|
["deepseek/coder"] = { |
|
__inherited_from = "openai", |
|
api_key_name = "DEEPSEEK_API_KEY", |
|
endpoint = "https://api.deepseek.com", |
|
model = "deepseek-coder", |
|
}, |
|
["deepseek/v4pro"] = { |
|
__inherited_from = "openai", |
|
api_key_name = "DEEPSEEK_API_KEY", |
|
endpoint = "https://api.deepseek.com", |
|
model = "deepseek-v4-pro", |
|
}, |
|
["z.ai/glm-4.6"] = { |
|
__inherited_from = "openai", |
|
api_key_name = "Z_API_KEY", |
|
endpoint = "https://api.z.ai/api/coding/paas/v4", |
|
model = "glm-4.6", |
|
}, |
|
}, |
|
}, |
|
dependencies = { |
|
"nvim-lua/plenary.nvim", |
|
"stevearc/dressing.nvim", -- for input provider dressing |
|
"folke/snacks.nvim", -- for input provider snacks |
|
"MunifTanjim/nui.nvim", |
|
{ |
|
"MeanderingProgrammer/render-markdown.nvim", |
|
opts = { |
|
file_types = { "markdown", "Avante" }, |
|
}, |
|
ft = { "markdown", "Avante" }, |
|
}, |
|
}, |
|
}
|
|
|