mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 02:34:29 +00:00
remove print statements
This commit is contained in:
parent
59999e4399
commit
1f2a12fe1f
3 changed files with 1 additions and 4 deletions
|
@ -2922,7 +2922,6 @@ class CustomStreamWrapper:
|
|||
raise ValueError(f"Unable to parse response. Original response: {chunk}")
|
||||
|
||||
def handle_replicate_chunk(self, chunk):
|
||||
print(f"chunk: {chunk}")
|
||||
try:
|
||||
text = ""
|
||||
is_finished = False
|
||||
|
@ -2941,7 +2940,6 @@ class CustomStreamWrapper:
|
|||
|
||||
def handle_openai_text_completion_chunk(self, chunk):
|
||||
try:
|
||||
print(f"chunk: {chunk}")
|
||||
return chunk["choices"][0]["text"]
|
||||
except:
|
||||
raise ValueError(f"Unable to parse response. Original response: {chunk}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue