Skip to content

Commit

Permalink
fix(llm): call on_complete() function at callback (#952)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryul99 authored Dec 24, 2024
1 parent 0d62ffd commit 9f3793b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/avante/llm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ M._stream = function(opts)
parse_response_without_stream(result.body)
end)
end
opts.on_complete(nil)
end,
})

Expand Down

0 comments on commit 9f3793b

Please sign in to comment.