mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 19:54:13 +00:00
test(utils.py): adding more logging for streaming test
This commit is contained in:
parent
1032b49f23
commit
39e784fb8b
1 changed files with 3 additions and 1 deletions
|
@ -4630,8 +4630,10 @@ class CustomStreamWrapper:
|
||||||
else:
|
else:
|
||||||
chunk = next(self.completion_stream)
|
chunk = next(self.completion_stream)
|
||||||
|
|
||||||
|
print_verbose(f"chunk in __next__: {chunk}")
|
||||||
if chunk is not None:
|
if chunk is not None:
|
||||||
response = self.chunk_creator(chunk=chunk)
|
response = self.chunk_creator(chunk=chunk)
|
||||||
|
print_verbose(f"response in __next__: {response}")
|
||||||
if response is not None:
|
if response is not None:
|
||||||
return response
|
return response
|
||||||
except StopIteration:
|
except StopIteration:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue