replace deprecated debug instruction with updated logging method

This commit is contained in:
Ayub Kokabi 2024-12-14 21:42:20 +03:30 committed by GitHub
parent 8060c5c698
commit aed954c49a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -110,7 +110,7 @@ def exception_type( # type: ignore # noqa: PLR0915
"\033[1;31mGive Feedback / Get Help: https://github.com/BerriAI/litellm/issues/new\033[0m" # noqa
) # noqa
print( # noqa
"LiteLLM.Info: If you need to debug this error, use `litellm.set_verbose=True'." # noqa
"LiteLLM.Info: If you need to debug this error, use `os.environ['LITELLM_LOG'] = 'DEBUG'`." # noqa
) # noqa
print() # noqa