mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-29 01:42:19 +00:00
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:
commit
d842aa3b25
1 changed files with 1 additions and 3 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue