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
remove unsused imports
Sameer Kankuteb0d511143c95
diff --git a/litellm/llms/vertex_ai/image_generation/vertex_gemini_transformation.py b/litellm/llms/vertex_ai/image_generation/vertex_gemini_transformation.pyindex 0a87dea997a..149e0850bf0 100644--- a/litellm/llms/vertex_ai/image_generation/vertex_gemini_transformation.py+++ b/litellm/llms/vertex_ai/image_generation/vertex_gemini_transformation.py@@ -1,4 +1,3 @@-import jsonimport osfrom typing import TYPE_CHECKING, Any, Dict, List, Optional@@ -15,7 +14,6 @@ from litellm.types.llms.openai import (OpenAIImageGenerationOptionalParams,)from litellm.types.utils import ImageObject, ImageResponse-from litellm.utils import ModelResponseif TYPE_CHECKING:from litellm.litellm_core_utils.litellm_logging import Logging as _LiteLLMLoggingObjdiff --git a/litellm/llms/vertex_ai/image_generation/vertex_imagen_transformation.py b/litellm/llms/vertex_ai/image_generation/vertex_imagen_transformation.pyindex 275c547c8dd..8c4ad5dd423 100644--- a/litellm/llms/vertex_ai/image_generation/vertex_imagen_transformation.py+++ b/litellm/llms/vertex_ai/image_generation/vertex_imagen_transformation.py@@ -1,6 +1,5 @@-import jsonimport os-from typing import TYPE_CHECKING, Any, Dict, List, Optional+from typing import TYPE_CHECKING, Any, List, Optionalimport httpx