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]

fix get llm provider for imagen

Ishaan Jaff9fcab392a4a5
diff --git a/litellm/utils.py b/litellm/utils.py
index efd48e8ab63..bb16c9f0a55 100644
--- a/litellm/utils.py
+++ b/litellm/utils.py
@@ -4930,6 +4930,7 @@ def get_llm_provider(
or model in litellm.vertex_language_models
or model in litellm.vertex_embedding_models
or model in litellm.vertex_vision_models
+ or model in litellm.vertex_ai_image_models
):
custom_llm_provider = "vertex_ai"
## ai21