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 d3ef46c commit f841334Copy full SHA for f841334
eval_protocol/pytest/exception_config.py
@@ -11,6 +11,7 @@
11
import litellm
12
import requests
13
import httpx
14
+import openai
15
16
# Default exceptions that should be retried with backoff
17
DEFAULT_RETRYABLE_EXCEPTIONS: Set[Type[Exception]] = {
@@ -34,6 +35,8 @@
34
35
litellm.exceptions.NotFoundError,
36
litellm.exceptions.BadRequestError, # remove this once we have a long term solution
37
litellm.exceptions.ServiceUnavailableError,
38
+ openai.NotFoundError,
39
+ openai.BadRequestError, # remove this once we have a long term solution
40
}
41
42
0 commit comments