forked from phoenix/litellm-mirror
(fix) make print_verbose non blocking
This commit is contained in:
parent
2da50087b0
commit
762f28e4d7
7 changed files with 37 additions and 16 deletions
|
@ -512,8 +512,11 @@ class TextCompletionResponse(OpenAIObject):
|
|||
|
||||
############################################################
|
||||
def print_verbose(print_statement):
|
||||
if litellm.set_verbose:
|
||||
print(print_statement) # noqa
|
||||
try:
|
||||
if litellm.set_verbose:
|
||||
print(print_statement) # noqa
|
||||
except:
|
||||
pass
|
||||
|
||||
####### LOGGING ###################
|
||||
from enum import Enum
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue