We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a30aed9 commit 77265afCopy full SHA for 77265af
1 file changed
eval_protocol/pytest/exception_config.py
@@ -8,7 +8,7 @@
8
9
import backoff
10
11
-
+import litellm
12
import requests
13
import httpx
14
@@ -28,8 +28,14 @@
28
httpx.TimeoutException,
29
httpx.NetworkError,
30
httpx.RemoteProtocolError,
31
-}
32
+ litellm.exceptions.RateLimitError,
33
+ litellm.exceptions.InternalServerError,
34
+ litellm.exceptions.Timeout,
35
+ litellm.exceptions.NotFoundError,
36
+ litellm.exceptions.BadRequestError,
37
+ litellm.exceptions.ServiceUnavailableError,
38
+}
39
40
@dataclass
41
class BackoffConfig:
0 commit comments