chore(nvim): use gemini with avante

This commit is contained in:
João Paulo Dubas 2025-04-14 14:09:16 +00:00
parent e5ecb33630
commit 90255f81ef
Signed by: joao.dubas
SSH Key Fingerprint: SHA256:V1mixgOGRc/YMhGx/DNkOSmJxgA2vHNrDZEk3wt/kOA

View File

@ -150,13 +150,26 @@ return {
lazy = false, lazy = false,
version = false, version = false,
opts = { opts = {
provider = 'claude', provider = 'gemini_pro',
auto_suggestion_provider = 'claude', auto_suggestion_provider = 'gemini_flash',
claude = { claude = {
endpoint = 'https://api.anthropic.com',
model = 'claude-3-7-sonnet-20250219', model = 'claude-3-7-sonnet-20250219',
temperature = 0, temperature = 0,
max_tokens = 4096, max_tokens = 20480,
},
vendors = {
gemini_pro = {
__inherited_from = 'gemini',
model = 'gemini-2.5-pro-exp-03-25',
temperature = 0.25,
max_tokens = 204800,
},
gemini_flash = {
__inherited_from = 'gemini',
model = 'gemini-2.0-flash',
temperature = 0.25,
max_tokens = 20480,
},
}, },
behaviour = { behaviour = {
auto_suggestions = false, auto_suggestions = false,
@ -236,10 +249,12 @@ return {
}, },
build = 'make', build = 'make',
dependencies = { dependencies = {
'nvim-treesitter/nvim-treesitter',
'stevearc/dressing.nvim', 'stevearc/dressing.nvim',
'nvim-lua/plenary.nvim', 'nvim-lua/plenary.nvim',
'MunifTanjim/nui.nvim', 'MunifTanjim/nui.nvim',
'hrsh7th/nvim-cmp', 'hrsh7th/nvim-cmp',
'nvim-telescope/telescope.nvim',
'nvim-tree/nvim-web-devicons', 'nvim-tree/nvim-web-devicons',
{ {
'HakonHarnes/img-clip.nvim', 'HakonHarnes/img-clip.nvim',