mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
bug fixes to logging
This commit is contained in:
parent
7274fa7729
commit
ddd583efb1
3 changed files with 2 additions and 2 deletions
|
@ -1627,7 +1627,7 @@ class CustomStreamWrapper:
|
|||
chunk = next(self.completion_stream)
|
||||
completion_obj['content'] = chunk['choices']['delta']
|
||||
# LOGGING
|
||||
self.logging_obj(completion_obj["content"])
|
||||
self.logging_obj.post_call(completion_obj["content"])
|
||||
# return this for all models
|
||||
return {"choices": [{"delta": completion_obj}]}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue