diff --git a/lua/plugins/avante.lua b/lua/plugins/avante.lua index fb22662..d61456a 100644 --- a/lua/plugins/avante.lua +++ b/lua/plugins/avante.lua @@ -6,14 +6,14 @@ return { opts = { -- add any opts here -- for example - 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_tokens = 8192, -- Increase this to include reasoning tokens (for reasoning models) - --reasoning_effort = "medium", -- low|medium|high, only used for reasoning models + provider = "openrouter", + vendors = { + openrouter = { + __inherited_from = "openai", + endpoint = "https://agent-ntmomgqaacrtahpdyjsdnynx-ywn9a.ondigitalocean.app/api/v1", + api_key_name = "DO_GEN_AI_API_KEY", + model = "deepseek/deepseek-r1", + }, }, }, -- if you want to build from source then do `make BUILD_FROM_SOURCE=true`