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_get_model_info_gemini
Ishaan Jaff1227b54fa64b
diff --git a/tests/test_litellm/test_utils.py b/tests/test_litellm/test_utils.pyindex 6fb268d942c..2bf2935901e 100644--- a/tests/test_litellm/test_utils.py+++ b/tests/test_litellm/test_utils.py@@ -170,7 +170,9 @@ def test_all_model_configs():drop_params=False,) == {"max_tokens": 10}- from litellm.llms.volcengine.chat.transformation import VolcEngineChatConfig as VolcEngineConfig+ from litellm.llms.volcengine.chat.transformation import (+ VolcEngineChatConfig as VolcEngineConfig,+ )assert "max_completion_tokens" in VolcEngineConfig().get_supported_openai_params(model="llama3"@@ -688,6 +690,7 @@ def test_get_model_info_gemini():and not "gemma" in modeland not "learnlm" in modeland not "imagen" in model+ and not "veo" 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"