-
Notifications
You must be signed in to change notification settings - Fork 792
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
After installing plugin and :checkhealt displays all green, I don't see my config loaded.
How I concluded that, on the :AvanteAsk I've being asked to Enter ANTHROPIC_API_KEY which is default but Ollama should be used from the config.
Ollama is running and returns list of models over curl api call.
require('avante').setup({
llm = {
provider = "ollama",
providers = {
ollama = {
model = "deepseek-coder:6.7b",
-- mark it as local, so Avante skips API key
is_env_set = function() return true end
},
},
},
})
To reproduce
Issue :AvanteAsk
Expected behavior
Ollame should be called on :AvanteAsk
Installation method
vim-plug
" Deps
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
Plug 'nvim-lua/plenary.nvim'
Plug 'MunifTanjim/nui.nvim'
Plug 'MeanderingProgrammer/render-markdown.nvim'
" Optional deps
Plug 'hrsh7th/nvim-cmp'
Plug 'nvim-tree/nvim-web-devicons' "or Plug 'echasnovski/mini.icons'
Plug 'HakonHarnes/img-clip.nvim'
Plug 'stevearc/dressing.nvim' " for enhanced input UI
Plug 'folke/snacks.nvim' " for modern input UI
" Yay, pass source=true if you want to build from source
Plug 'yetone/avante.nvim', { 'branch': 'main', 'do': 'make' }
:PlugInstall
Environment
OSX Version 26.2 (25C56)
Apple M4 Pro
Repro
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working