mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
Merge 57f1d436e1
into f5996b2f6b
This commit is contained in:
commit
2c20b3726b
9 changed files with 189 additions and 104 deletions
|
@ -122,15 +122,9 @@ class PassThroughStreamingHandler:
|
|||
standard_logging_response_object = StandardPassThroughResponseObject(
|
||||
response=f"cannot parse chunks to standard response object. Chunks={all_chunks}"
|
||||
)
|
||||
threading.Thread(
|
||||
target=litellm_logging_obj.success_handler,
|
||||
args=(
|
||||
standard_logging_response_object,
|
||||
start_time,
|
||||
end_time,
|
||||
False,
|
||||
),
|
||||
).start()
|
||||
litellm_logging_obj.success_handler(
|
||||
standard_logging_response_object, start_time, end_time, False
|
||||
)
|
||||
await litellm_logging_obj.async_success_handler(
|
||||
result=standard_logging_response_object,
|
||||
start_time=start_time,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue