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
litellm_fix(test): allow comment field in schema and exclude robotics models from tpm check (#20139)
shin-bot-litellm7db4594200d4
diff --git a/tests/test_litellm/test_utils.py b/tests/test_litellm/test_utils.pyindex 6a79fd0823b..d11fe8d921f 100644--- a/tests/test_litellm/test_utils.py+++ b/tests/test_litellm/test_utils.py@@ -639,6 +639,7 @@ def test_aaamodel_prices_and_context_window_json_is_valid():"rpd": {"type": "number"},"rpm": {"type": "number"},"source": {"type": "string"},+ "comment": {"type": "string"},"supports_assistant_prefill": {"type": "boolean"},"supports_audio_input": {"type": "boolean"},"supports_audio_output": {"type": "boolean"},@@ -841,6 +842,7 @@ def test_get_model_info_gemini():and not "learnlm" in modeland not "imagen" in modeland not "veo" in model+ and not "robotics" in model):assert info.get("tpm") is not None, f"{model} does not have tpm"assert info.get("rpm") is not None, f"{model} does not have rpm"