From f73d54a8689e714d1cc7b5ff91d50f7830cc1b6c Mon Sep 17 00:00:00 2001 From: Simon Lasbrugnas Date: Thu, 17 Apr 2025 16:31:28 +0200 Subject: [PATCH] chore(avante: add openai config --- lua/custom/plugins/avante.lua | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lua/custom/plugins/avante.lua b/lua/custom/plugins/avante.lua index e011a93..0dcf4dd 100644 --- a/lua/custom/plugins/avante.lua +++ b/lua/custom/plugins/avante.lua @@ -3,6 +3,15 @@ return { lazy = false, priority = 10, 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 }, mappings = { submit = {