(feat): add ollama provider to avante plugin.
Since Auth header is not supported by avante yet. Using patched version.
This commit is contained in:
parent
868f0a5eee
commit
f15965991d
1 changed files with 7 additions and 2 deletions
|
|
@ -1,9 +1,14 @@
|
||||||
return {
|
return {
|
||||||
"yetone/avante.nvim",
|
"bumpsoo/avante.nvim",
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
version = false,
|
version = false,
|
||||||
opts = {
|
opts = {
|
||||||
provider = "groq",
|
provider = "ollama",
|
||||||
|
ollama = {
|
||||||
|
endpoint = os.getenv("OLLAMA_API_BASE"),
|
||||||
|
model = "gemma3:27b-it-qat",
|
||||||
|
api_key_name = "OLLAMA_API_KEY",
|
||||||
|
},
|
||||||
vendors = {
|
vendors = {
|
||||||
groq = {
|
groq = {
|
||||||
__inherited_from = "openai",
|
__inherited_from = "openai",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue