diff --git a/lua/avante/providers/openai.lua b/lua/avante/providers/openai.lua index 438d40f..ec6b1f2 100644 --- a/lua/avante/providers/openai.lua +++ b/lua/avante/providers/openai.lua @@ -147,7 +147,6 @@ M.parse_curl_args = function(provider, code_opts) -- NOTE: When using "o1" set the supported parameters only local stream = true if base.model and string.find(base.model, "o1") then - stream = false body_opts.max_tokens = nil body_opts.temperature = 1 end