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]

Merge remote-tracking branch 'upstream/litellm_internal_staging' into cve-sweep-2026-05

user63bda3f00172
diff --cc tests/ocr_tests/base_ocr_unit_tests.py
index 5c354690ddf,ae65efd952d..a09158ce18c
--- a/tests/ocr_tests/base_ocr_unit_tests.py
+++ b/tests/ocr_tests/base_ocr_unit_tests.py
@@@ -9,9 -9,18 +9,17 @@@ import litell
import os
from abc import ABC, abstractmethod
-
# Test resources
TEST_IMAGE_PATH = "test_image_edit.png"
- TEST_PDF_URL = "https://arxiv.org/pdf/2201.04234"
+ # Tiny in-repo PDF served via jsdelivr (sha-pinned, immutable). The arxiv
+ # PDF previously used here was several MB — once base64-encoded into the
+ # Vertex OCR request it ballooned cassettes past 100 MB per test. Keep
+ # the URL stable across runs so cassettes don't churn.
+ TEST_PDF_URL = (
+ "https://cdn.jsdelivr.net/gh/BerriAI/litellm"
+ "@d769e81c90d453240c61fc572cdb27fae06a89d0"
+ "/tests/llm_translation/fixtures/dummy.pdf"
+ )
class BaseOCRTest(ABC):