Skip to content

refactor(rust): move failure classification and request ownership into core, drop the unreachable bridge routes - #41745

Closed
yujonglee-berri wants to merge 4 commits into
litellm_extract_callback_contractsfrom
litellm_bridge_policy_into_core
Closed

yujonglee-berri wants to merge 4 commits into
litellm_extract_callback_contractsfrom
litellm_bridge_policy_into_core

refactor(rust): hand the OCR route host its Python helpers instead of…

dd7b1ba
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL failed Sep 18, 2026 in 3s

3 new alerts including 2 errors

New alerts in code changed by this pull request

  • 2 errors
  • 1 note

See annotations below for details.

View all branch alerts.

Annotations

Check failure on line 66 in litellm/rust_bridge/ocr/route_host.py

See this annotation in the file changed.

Code scanning / CodeQL

Potentially uninitialized local variable Error

Local variable 'status' may be used before it is initialized.

Check failure on line 66 in litellm/rust_bridge/ocr/route_host.py

See this annotation in the file changed.

Code scanning / CodeQL

Potentially uninitialized local variable Error

Local variable 'body' may be used before it is initialized.

Check notice on line 64 in litellm/rust_bridge/ocr/route_host.py

See this annotation in the file changed.

Code scanning / CodeQL

Explicit returns mixed with implicit (fall through) returns Note

Mixing implicit and explicit returns may indicate an error, as implicit returns always return None.