Merge remote-tracking branch 'origin/litellm_tag_tpm_rpm_enforcement' into litellm_tag_tpm_rpm_enforcement

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

# Conflicts:
#	tests/test_litellm/proxy/hooks/test_parallel_request_limiter_v3.py
This commit is contained in:
kerry 2026-09-25 00:32:54 +00:00
commit d842aa3b25

View file

@ -5128,15 +5128,13 @@ async def test_resolve_tag_rate_limits_from_db_reads_budget_row(monkeypatch):
from litellm.models.tag import LiteLLM_TagTable
from litellm.proxy import proxy_server
from litellm.proxy.auth import auth_checks
from litellm.proxy.common_utils.user_api_key_cache import UserApiKeyCache
from litellm.proxy.hooks.parallel_request_limiter_v3 import resolve_tag_rate_limits_from_db
from litellm.proxy.utils import PrismaClient
async def fake_batch(
tag_names: Sequence[str],
prisma_client: PrismaClient | None,
user_api_key_cache: UserApiKeyCache,
**kwargs: object,
user_api_key_cache: DualCache,
) -> dict[str, LiteLLM_TagTable]:
return {
"limited": LiteLLM_TagTable(