mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-22 04:21:03 +00:00
Change to avante openai
This commit is contained in:
parent
3956a3fac8
commit
3c7caa21c6
1 changed files with 8 additions and 3 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue