The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
test(token_counter): type the project ITPM lag test's request body
mateo-berribabf18f37f38
diff --git a/tests/test_litellm/proxy/hooks/test_tpm_concurrent.py b/tests/test_litellm/proxy/hooks/test_tpm_concurrent.pyindex 398abf60b54..bdaca9ffc2d 100644--- a/tests/test_litellm/proxy/hooks/test_tpm_concurrent.py+++ b/tests/test_litellm/proxy/hooks/test_tpm_concurrent.py@@ -3682,7 +3682,7 @@ async def test_the_project_itpm_reservation_counts_the_request_off_the_event_loohandler, _cache = rate_limiterstash = get_or_create_request_stash()warm_tokenizer("claude-fable-5")- data: Dict[str, Any] = {+ data: dict[str, object] = {"model": "claude-fable-5","messages": [{"role": "user", "content": text * 100}],}