We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff1331d commit 1e84ad9Copy full SHA for 1e84ad9
garak/generators/litellm.py
@@ -47,7 +47,7 @@
47
litellm.drop_params = True
48
# Suppress log messages from LiteLLM
49
litellm.verbose_logger.disabled = True
50
-# litellm.set_verbose = True
+#litellm.set_verbose = True
51
52
# Based on the param support matrix below:
53
# https://docs.litellm.ai/docs/completion/input
@@ -152,6 +152,7 @@ def _call_model(
152
except (
153
litellm.exceptions.AuthenticationError, # authentication failed for detected or passed `provider`
154
litellm.exceptions.BadRequestError,
155
+ litellm.exceptions.APIError, # this seems to be how LiteLLM/OpenAI are doing it on 2025.02.18
156
) as e:
157
158
raise BadGeneratorException(
0 commit comments