new plugin llm
This commit is contained in:
parent
8a03de58b9
commit
406f904367
5 changed files with 103 additions and 39 deletions
|
|
@ -2,18 +2,16 @@ require("avante_lib").load()
|
|||
require("avante").setup({
|
||||
provider = "ollama",
|
||||
auto_suggestions_provider = "ollama",
|
||||
cursor_applying_provider = "ollama",
|
||||
behavior = {
|
||||
auto_suggestions = false,
|
||||
enable_cursor_planning_mode = true,
|
||||
},
|
||||
hints = {
|
||||
enabled = false,
|
||||
},
|
||||
vendors = {
|
||||
ollama = {
|
||||
endpoint = "http://127.0.0.1:11434/v1",
|
||||
model = "qwen2.5-coder:7b",
|
||||
__inherited_from = "openai",
|
||||
api_key_name = "",
|
||||
},
|
||||
ollama = {
|
||||
endpoint = "http://127.0.0.1:11434",
|
||||
model = "phi4:14b",
|
||||
},
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue