mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-10 08:28:25 +00:00
fix(router): add NotFoundErrorRetries to retry policy (#36896)
This commit is contained in:
parent
325228e143
commit
061dcb20c1
1 changed files with 1 additions and 0 deletions
|
|
@ -27,6 +27,7 @@ def get_num_retries_from_retry_policy(
|
|||
TimeoutErrorRetries: Optional[int] = None
|
||||
RateLimitErrorRetries: Optional[int] = None
|
||||
ContentPolicyViolationErrorRetries: Optional[int] = None
|
||||
NotFoundErrorRetries: Optional[int] = None
|
||||
"""
|
||||
# if we can find the exception then in the retry policy -> return the number of retries
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue