fix(router): add NotFoundErrorRetries to retry policy (#36896)

This commit is contained in:
Siraj637909 2026-08-15 12:22:22 +05:30
parent 325228e143
commit 061dcb20c1

View file

@ -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