nvim-config/lua/plugins/avante.lua
Walter Jenkins dd1d1bb6e9 working
2025-04-16 08:39:09 -05:00

28 lines
741 B
Lua

return {
'yetone/avante.nvim',
event = 'VeryLazy',
build = 'make',
opts = {
provider = 'claude',
claude = {
endpoint = os.getenv 'AVANTE_ANTHROPIC_ENDPOINT' or 'https://api.anthropic.com',
model = 'claude-3-5-sonnet-20240620',
timeout = 30000, -- Timeout in milliseconds
temperature = 0,
max_tokens = 4096,
},
openai = {
endpoint = os.getenv 'AVANTE_OPENAI_ENDPOINT' or 'https://api.openai.com/v1',
model = 'gpt-4o',
timeout = 30000, -- Timeout in milliseconds
temperature = 0,
max_tokens = 4096,
},
},
dependencies = {
'nvim-tree/nvim-web-devicons',
'stevearc/dressing.nvim',
'nvim-lua/plenary.nvim',
'MunifTanjim/nui.nvim',
},
}