Skip to content

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]

test_get_model_info_gemini

Ishaan Jaff1227b54fa64b
diff --git a/tests/test_litellm/test_utils.py b/tests/test_litellm/test_utils.py
index 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 model
and not "learnlm" in model
and 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"