Skip to content

Commit

Permalink
fix: do not ignore curl error (#877)
Browse files Browse the repository at this point in the history
  • Loading branch information
yetone authored Nov 19, 2024
1 parent 56ebcad commit 2863473
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/avante/llm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ M._stream = function(opts, Provider)
active_job = nil
completed = true
cleanup()
opts.on_complete(nil)
opts.on_complete(err)
end,
callback = function(result)
active_job = nil
Expand Down

0 comments on commit 2863473

Please sign in to comment.