forked from phoenix/litellm-mirror
Properly use allowed_fails_policy
when it has fields with a value of 0 (#5604)
This commit is contained in:
parent
15c761a56b
commit
da30da9a97
1 changed files with 1 additions and 1 deletions
|
@ -3690,7 +3690,7 @@ class Router:
|
|||
exception=original_exception,
|
||||
)
|
||||
|
||||
allowed_fails = _allowed_fails or self.allowed_fails
|
||||
allowed_fails = _allowed_fails if _allowed_fails is not None else self.allowed_fails
|
||||
|
||||
dt = get_utc_datetime()
|
||||
current_minute = dt.strftime("%H-%M")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue