fix(llm): call on_complete() function at callback (#952)
This commit is contained in:
@@ -250,6 +250,7 @@ M._stream = function(opts)
|
|||||||
parse_response_without_stream(result.body)
|
parse_response_without_stream(result.body)
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
opts.on_complete(nil)
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user