diff --git a/garak/generators/litellm.py b/garak/generators/litellm.py index ce3c00c73..d9cee1902 100644 --- a/garak/generators/litellm.py +++ b/garak/generators/litellm.py @@ -38,6 +38,9 @@ import backoff +# Suppress log messages from LiteLLM during import +litellm_logger = logging.getLogger("LiteLLM") +litellm_logger.setLevel(logging.CRITICAL) import litellm from garak import _config