mirror of
https://github.com/aminnairi/dotfiles.git
synced 2026-09-14 19:12:13 +02:00
added ollama provider as the default one locally
This commit is contained in:
@@ -2,8 +2,8 @@ return {
|
||||
"yetone/avante.nvim",
|
||||
opts = {
|
||||
---@alias Provider "claude" | "openai" | "azure" | "gemini" | "cohere" | "copilot" | string
|
||||
provider = "claude", -- Recommend using Claude
|
||||
auto_suggestions_provider = "claude", -- Since auto-suggestions are a high-frequency operation and therefore expensive, it is recommended to specify an inexpensive provider or even a free provider: copilot
|
||||
provider = "ollama",
|
||||
auto_suggestions_provider = "ollama",
|
||||
providers = {
|
||||
claude = {
|
||||
endpoint = "https://api.anthropic.com",
|
||||
@@ -13,6 +13,13 @@ return {
|
||||
max_tokens = 8192,
|
||||
},
|
||||
},
|
||||
ollama = {
|
||||
endpoint = "http://ollama.nairi.local",
|
||||
model = "qwen2.5-coder:7b",
|
||||
extra_request_body = {
|
||||
temperature = 0,
|
||||
},
|
||||
},
|
||||
},
|
||||
behaviour = {
|
||||
auto_suggestions = false, -- Experimental stage
|
||||
|
||||
Reference in New Issue
Block a user