diff --git a/lua/custom/plugins/avante.lua b/lua/custom/plugins/avante.lua index c838f66d..077161e1 100644 --- a/lua/custom/plugins/avante.lua +++ b/lua/custom/plugins/avante.lua @@ -4,13 +4,17 @@ return { event = 'VeryLazy', version = false, opts = { - provider = 'copilot', - cursor_applying_provider = 'copilot', - copilot = { - model = 'claude-3.7-sonnet', - temperature = 0, - max_tokens = 8192, + providers = { + copilot = { + model = 'claude-3.7-sonnet', + timeout = 30000, + extra_request_body = { + temperature = 0, + max_tokens = 8192, + }, + }, }, + cursor_applying_provider = 'copilot', }, -- if you want to build from source then do `make BUILD_FROM_SOURCE=true` build = 'make',