Updated config
This commit is contained in:
27
lua/taken/plugins/avante.lua
Normal file
27
lua/taken/plugins/avante.lua
Normal file
@@ -0,0 +1,27 @@
|
||||
return {
|
||||
"yetone/avante.nvim",
|
||||
event = "VeryLazy",
|
||||
version = false,
|
||||
build = "make",
|
||||
dependencies = {
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
"stevearc/dressing.nvim",
|
||||
"nvim-lua/plenary.nvim",
|
||||
"MunifTanjim/nui.nvim",
|
||||
"nvim-telescope/telescope.nvim",
|
||||
"nvim-tree/nvim-web-devicons",
|
||||
"zbirenbaum/copilot.lua",
|
||||
},
|
||||
config = function()
|
||||
require("avante").setup({
|
||||
provider = "gemini",
|
||||
gemini = {
|
||||
endpoint = "https://generativelanguage.googleapis.com/v1beta/models",
|
||||
model = "gemini-2.0-flash-exp",
|
||||
timeout = 30000,
|
||||
temperature = 0,
|
||||
max_tokens = 8192,
|
||||
},
|
||||
})
|
||||
end,
|
||||
}
|
||||
Reference in New Issue
Block a user