(feat): add ollama provider to avante plugin.

Since Auth header is not supported by avante yet. Using patched version.
This commit is contained in:
bumpsoo 2025-04-21 15:22:16 +00:00
parent 868f0a5eee
commit f15965991d

View file

@ -1,9 +1,14 @@
return {
"yetone/avante.nvim",
"bumpsoo/avante.nvim",
event = "VeryLazy",
version = false,
opts = {
provider = "groq",
provider = "ollama",
ollama = {
endpoint = os.getenv("OLLAMA_API_BASE"),
model = "gemma3:27b-it-qat",
api_key_name = "OLLAMA_API_KEY",
},
vendors = {
groq = {
__inherited_from = "openai",