Change to avante openai

This commit is contained in:
Marcelo Jacobus 2025-04-24 15:41:35 -03:00
parent 3956a3fac8
commit 3c7caa21c6

View file

@ -3,9 +3,14 @@ return {
dependencies = { "nvim-lua/plenary.nvim" },
event = "VeryLazy",
opts = {
provider = "ollama",
ollama = {
model = "mistral", -- you can also try "llama3:8b-q4_0" or "gemma"
provider = "openai",
openai = {
endpoint = "https://api.openai.com/v1",
model = "gpt-4o", -- your desired model (or use gpt-4o, etc.)
timeout = 30000, -- Timeout in milliseconds, increase this for reasoning models
temperature = 0,
max_completion_tokens = 8192, -- Increase this to include reasoning tokens (for reasoning models)
--reasoning_effort = "medium", -- low|medium|high, only used for reasoning models
},
},
build = "make",