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
vertex ai deepseek doesn't support pdf urls, so skip them
Sameer Kankute3d56d3d49b86
diff --git a/tests/ocr_tests/test_ocr_vertex_ai.py b/tests/ocr_tests/test_ocr_vertex_ai.pyindex 6e7ada1d8bc..9b9c10452c5 100644--- a/tests/ocr_tests/test_ocr_vertex_ai.py+++ b/tests/ocr_tests/test_ocr_vertex_ai.py@@ -7,6 +7,7 @@ the Vertex AI endpoint doesn't have internet access.import osimport jsonimport tempfile+import pytestfrom base_ocr_unit_tests import BaseOCRTest@@ -77,6 +78,7 @@ class TestVertexAIDeepSeekOCR(BaseOCRTest):Inherits from BaseOCRTest and provides Vertex AI-specific configuration.Note: DeepSeek OCR uses the chat completion API format through the openapi endpoint.+ Note: DeepSeek OCR does not support PDF URLs - only image URLs and base64 data."""def get_base_ocr_call_args(self) -> dict:@@ -89,6 +91,17 @@ class TestVertexAIDeepSeekOCR(BaseOCRTest):"vertex_location": "us-central1",}+ # Skip PDF URL tests for DeepSeek OCR as it doesn't support PDF URLs+ @pytest.mark.skip(reason="DeepSeek OCR does not support PDF URLs")+ async def test_basic_ocr_with_url(self, sync_mode):+ """Skip this test for DeepSeek OCR - PDF URLs not supported"""+ pass++ @pytest.mark.skip(reason="DeepSeek OCR does not support PDF URLs")+ def test_ocr_response_structure(self):+ """Skip this test for DeepSeek OCR - PDF URLs not supported"""+ pass+def test_vertex_ai_ocr_routing():"""