mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-15 09:12:18 +00:00
Merge 1a973a221b into 1046716b6d
This commit is contained in:
commit
eb6d12d13b
1 changed files with 1 additions and 1 deletions
|
|
@ -995,7 +995,7 @@ def _gated(gateway: Gateway, cell: str, key: str | None) -> httpx.Response:
|
|||
|
||||
|
||||
def recorded_before(cell: str) -> list[tuple[str, str, str, float]]:
|
||||
if cell in ("invalid-key", "expired-key"):
|
||||
if cell != "no-model-access":
|
||||
return []
|
||||
return sorted([(FAILURES, "", "", 1.0), (TOTALS, "", "", 1.0), (LLM_FAILED, identity(cell), "", 1.0)])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue