litellm/litellm
Yujong Lee 1d88ca1cd2 test(ocr): restore public-boundary OCR coverage the Rust move cannot replace
The Python/Rust parity cases behind the ocr_backend fixture are back as they were on main:
the malformed-document matrix, Azure invalid options, native format for every provider and
the unknown Reducto model. They are the only check that the Python opt-out path and the
native path agree

test_native_failures_raise_the_public_exception_class drives every native failure kind
through litellm.ocr and litellm.aocr and pins the exception class callers catch. That class
is chosen in Python by route_host.map_failure, so no Rust test can cover it; bypassing the
mapping fails all 26 cases. The nested document edit and metadata failure tests run sync
again, since the sync path skips deployment hooks and dispatches success on the executor

legacy_callbacks.callbacks_needed now takes a Literal phase and ends its match with
assert_never, and setup imports from litellm.utils instead of mixing import styles
2026-09-17 21:36:48 -07:00
..
a2a_protocol Merge pull request #40262 from BerriAI/litellm_lit_7190_inline_token_counts 2026-09-15 13:38:00 -07:00
anthropic_interface route stuff through dispatch no direct main 2026-09-17 11:06:46 -07:00
assistants refactor(typing): replace Any with proven types in 89 more backend files 2026-09-02 23:08:42 +00:00
batch_completion
batches refactor(vertex): move batch usage modality parsing under llms 2026-09-15 02:03:32 +00:00
caching refactor(proxy): trim the invalidation docstrings and inject the page read failure 2026-09-16 16:41:13 -07:00
chat_completions route stuff through dispatch no direct main 2026-09-17 11:06:46 -07:00
completion_extras style(responses_bridge): apply ruff format 2026-09-16 23:52:53 +00:00
compression merge: main into litellm_headroom_protect_cached_prefix 2026-09-15 04:12:28 +00:00
containers Merge remote-tracking branch 'origin/litellm_internal_staging' into litellm_decrease_anys_opus5_r4 2026-09-02 23:32:10 +00:00
endpoints/speech/speech_to_completion_bridge
evals
experimental_mcp_client fix(mcp): reject missing upstream authentication credentials 2026-09-15 18:06:00 -07:00
files merge: bring litellm_internal_staging into the Bedrock files delete and list fix 2026-09-09 19:27:40 -07:00
fine_tuning refactor(typing): replace Any with proven types in 89 more backend files 2026-09-02 23:08:42 +00:00
google_genai
images refactor(typing): replace Any with proven types in 89 more backend files 2026-09-02 23:08:42 +00:00
integrations Merge pull request #41661 from BerriAI/litellm_remove_dead_prometheus_validators 2026-09-17 17:56:08 -07:00
interactions refactor(typing): replace Any with proven types in 42 more backend files 2026-09-02 15:35:01 +00:00
litellm_core_utils refactor(rust): run OCR through a route-neutral callback contract and a legacy Logging adapter 2026-09-17 21:13:16 -07:00
llms Merge pull request #41469 from BerriAI/litellm_bedrock_mantle_responses_drop_top_p 2026-09-17 18:04:19 -07:00
messages route stuff through dispatch no direct main 2026-09-17 11:06:46 -07:00
models Merge pull request #41403 from BerriAI/litellm_key_total_spend 2026-09-16 14:49:02 -07:00
ocr merge: port OCR request validation and upstream error mapping onto main's dispatch layout 2026-09-17 18:33:20 +00:00
passthrough fix(passthrough): parse Bedrock stream spend incrementally instead of buffering the whole response (#40724) 2026-09-11 09:53:37 -07:00
proxy chore(proxy): regenerate the OpenAPI snapshot with the CI Python version 2026-09-17 18:15:55 -07:00
proxy_auth
rag Merge remote-tracking branch 'origin/main' into litellm_bedrock_rag_retrieval_filter 2026-09-15 15:21:57 -07:00
realtime_api fix(realtime): send openai and xai health check keys as bearer tokens 2026-09-15 02:20:09 -07:00
repositories fix(proxy): always decrement on spend reset and reseed counters from the DB 2026-09-15 19:52:37 +00:00
rerank_api
responses Merge pull request #41619 from BerriAI/litellm_fix_mcp_guardrail_context_4889 2026-09-17 19:04:04 +00:00
router_strategy fix(router): reject a blank Jev api_key so it cannot pair with a caller-chosen api_base 2026-09-17 16:38:54 -07:00
router_utils Merge pull request #41379 from runjivu/fix/fallback-budget-check 2026-09-16 14:39:56 -07:00
rust_bridge test(ocr): restore public-boundary OCR coverage the Rust move cannot replace 2026-09-17 21:36:48 -07:00
sandbox
search
secret_managers feat(secret_managers): support customer-managed KMS key for virtual keys stored in AWS Secrets Manager (#40475) 2026-09-11 09:54:08 -07:00
skills feat(skills): semantic search over the LiteLLM-hosted skill registry (#39401) 2026-09-07 12:28:38 -07:00
types Merge pull request #41615 from BerriAI/litellm_jev_complexity_classifier 2026-09-17 17:31:08 -07:00
vector_store_files refactor(typing): replace Any with proven types in 42 more backend files 2026-09-02 15:35:01 +00:00
vector_stores Merge remote-tracking branch 'origin/litellm_internal_staging' into litellm_python_version_ci 2026-09-03 00:16:19 -07:00
videos
__init__.py Merge remote-tracking branch 'github/main' into litellm_rust_bridge_declarative_route_catalog 2026-09-17 11:08:08 -07:00
_internal_context.py fix(proxy): price one cost estimate at one moment 2026-09-07 18:38:12 -07:00
_lazy_imports.py fix(lazy_imports): type import_map as Mapping to stay under the LIT001 budget 2026-09-05 16:12:45 -07:00
_lazy_imports_registry.py Merge remote-tracking branch 'origin/main' into litellm_azure_ai_responses_native 2026-09-15 18:04:36 -07:00
_logging.py Merge pull request #40934 from BerriAI/litellm_fix_ocr_native_multipage_pdf 2026-09-16 18:06:11 -07:00
_redis.py fix(redis): accept every truthy flag and sign serverless ElastiCache caches 2026-09-10 10:13:03 -04:00
_redis_credential_provider.py fix(redis): accept every truthy flag and sign serverless ElastiCache caches 2026-09-10 10:13:03 -04:00
_service_logger.py chore: merge origin/litellm_internal_staging into litellm_decrease_anys_opus5_r4 2026-09-04 18:59:35 -07:00
_uuid.py
_version.py
anthropic_beta_headers_config.json fix(anthropic): add the per-turn-control beta when a message carries output_config 2026-09-14 22:01:47 -07:00
anthropic_beta_headers_manager.py
blog_posts.json
budget_manager.py
constants.py fix(bedrock): support aws-sdk-bedrock-runtime 0.10 and 0.11 in the realtime handler 2026-09-17 01:40:52 +00:00
cost.json
cost_calculator.py Merge pull request #41318 from BerriAI/litellm_ws_responses_service_tier_pricing 2026-09-15 17:23:35 -07:00
exceptions.py make test pass 2026-09-17 08:55:59 -07:00
main.py chore(streaming): remove retired ai21/maritalk/baseten/azure raw-bytes handlers and dead palm completion code 2026-09-17 20:07:51 +00:00
model_prices_and_context_window_backup.json fix(model_prices): add cache-read pricing to Mistral chat models missing it 2026-09-18 02:13:44 +00:00
policy_templates_backup.json
provider_endpoints_support_backup.json fix(ocr): send each provider a health-check document it accepts 2026-09-04 22:52:12 -07:00
py.typed
router.py fix(router): preserve discovered limits and model info fallbacks 2026-09-17 00:23:50 +00:00
scheduler.py
setup_wizard.py
timeout.py
utils.py Merge remote-tracking branch 'origin/main' into litellm_bridge_mid_conversation_system_turns 2026-09-17 18:07:06 +00:00