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
Fix: lint error
Sameer Kankuted619199ceed7
diff --git a/litellm/llms/vertex_ai/ocr/deepseek_transformation.py b/litellm/llms/vertex_ai/ocr/deepseek_transformation.pyindex db7f824a354..b16f73af3f6 100644--- a/litellm/llms/vertex_ai/ocr/deepseek_transformation.py+++ b/litellm/llms/vertex_ai/ocr/deepseek_transformation.py@@ -109,7 +109,7 @@ class VertexAIDeepSeekOCRConfig(BaseOCRConfig):# Get API base URLif api_base is None:- api_base = f"https://aiplatform.googleapis.com"+ api_base = "https://aiplatform.googleapis.com"# Ensure no trailing slashapi_base = api_base.rstrip("/")@@ -195,7 +195,7 @@ class VertexAIDeepSeekOCRConfig(BaseOCRConfig):data.update(chat_completion_params)- verbose_logger.debug(f"Vertex AI DeepSeek OCR: Transformed request to chat completion format")+ verbose_logger.debug("Vertex AI DeepSeek OCR: Transformed request to chat completion format")return OCRRequestData(data=data, files=None)diff --git a/tests/ocr_tests/test_ocr_vertex_ai.py b/tests/ocr_tests/test_ocr_vertex_ai.pyindex 1c88736bd34..6e7ada1d8bc 100644--- a/tests/ocr_tests/test_ocr_vertex_ai.py+++ b/tests/ocr_tests/test_ocr_vertex_ai.py@@ -85,7 +85,7 @@ class TestVertexAIDeepSeekOCR(BaseOCRTest):"""load_vertex_ai_credentials()return {- "model": "vertex_ai/deepseek-ai/deepseek-ocr-maas",+ "model": "vertex_ai/deepseek-ocr-maas","vertex_location": "us-central1",}@@ -99,7 +99,7 @@ def test_vertex_ai_ocr_routing():from litellm.llms.vertex_ai.ocr.transformation import VertexAIOCRConfig# Test DeepSeek OCR routing- deepseek_config = get_vertex_ai_ocr_config("vertex_ai/deepseek-ai/deepseek-ocr-maas")+ deepseek_config = get_vertex_ai_ocr_config("vertex_ai/deepseek-ocr-maas")assert isinstance(deepseek_config, VertexAIDeepSeekOCRConfig), \"DeepSeek model should route to VertexAIDeepSeekOCRConfig"