From aed954c49a47cd6178312ba0aa1119c526f0637d Mon Sep 17 00:00:00 2001 From: Ayub Kokabi Date: Sat, 14 Dec 2024 21:42:20 +0330 Subject: [PATCH] replace deprecated debug instruction with updated logging method --- litellm/litellm_core_utils/exception_mapping_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/litellm_core_utils/exception_mapping_utils.py b/litellm/litellm_core_utils/exception_mapping_utils.py index 0ca2f4e262..e8ae531b67 100644 --- a/litellm/litellm_core_utils/exception_mapping_utils.py +++ b/litellm/litellm_core_utils/exception_mapping_utils.py @@ -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