19 lines
390 B
Lua
19 lines
390 B
Lua
require("avante_lib").load()
|
|
require("avante").setup({
|
|
provider = "ollama",
|
|
auto_suggestions_provider = "ollama",
|
|
behavior = {
|
|
auto_suggestions = false,
|
|
},
|
|
hints = {
|
|
enabled = false,
|
|
},
|
|
vendors = {
|
|
ollama = {
|
|
endpoint = "http://127.0.0.1:11434/v1",
|
|
model = "qwen2.5-coder:7b",
|
|
__inherited_from = "openai",
|
|
api_key_name = "",
|
|
},
|
|
},
|
|
})
|