refactor(utils.py): clean up print statement

This commit is contained in:
Krrish Dholakia 2023-10-13 15:33:12 -07:00
parent 98f6d40285
commit d60518fccf

View file

@ -424,7 +424,6 @@ class Logging:
## BUILD COMPLETE STREAMED RESPONSE ## BUILD COMPLETE STREAMED RESPONSE
if self.stream: if self.stream:
print(f"stream result: {result}")
if result.choices[0].finish_reason: # if it's the last chunk if result.choices[0].finish_reason: # if it's the last chunk
self.streaming_chunks.append(result) self.streaming_chunks.append(result)
complete_streaming_response = litellm.stream_chunk_builder(self.streaming_chunks) complete_streaming_response = litellm.stream_chunk_builder(self.streaming_chunks)