chore(avante: add openai config

This commit is contained in:
Simon Lasbrugnas 2025-04-17 16:31:28 +02:00
parent 5bce2a44d1
commit f73d54a868
Signed by untrusted user who does not match committer: simon
GPG key ID: 86039876BA6ED8DE

View file

@ -3,6 +3,15 @@ return {
lazy = false, lazy = false,
priority = 10, priority = 10,
opts = { opts = {
provider = "openai",
openai = {
endpoint = "https://api.openai.com/v1",
model = "gpt-4o",
timeout = 30000,
temperature = 0,
max_tokens = 8192,
--reasoning_effort = "medium", -- low|medium|high
},
hints = { enabled = false }, hints = { enabled = false },
mappings = { mappings = {
submit = { submit = {