From 9f3793b5794624014e8ed8d473ceb9d1dac4e36f Mon Sep 17 00:00:00 2001 From: Changmin Choi Date: Tue, 24 Dec 2024 23:42:12 +0900 Subject: [PATCH] fix(llm): call on_complete() function at callback (#952) --- lua/avante/llm.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/avante/llm.lua b/lua/avante/llm.lua index a08aba4b1..8fd5429e2 100644 --- a/lua/avante/llm.lua +++ b/lua/avante/llm.lua @@ -250,6 +250,7 @@ M._stream = function(opts) parse_response_without_stream(result.body) end) end + opts.on_complete(nil) end, })