Yujong Lee
64cd6538a6
cleanup
2026-09-16 14:16:15 -07:00
Yujong Lee
64f2a3d098
refactor(rust_bridge): group route modules into packages and split ocr into main and rust
...
Move each route's bridge module under litellm/rust_bridge/<route>/ so a folder
means a Rust implementation exists while the catalog row says whether it is
used. OCR now keeps the Python implementation in litellm/ocr/main.py and the
Rust selection in litellm/ocr/rust.py, removing litellm/ocr/legacy.py
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-16 20:34:51 +00:00
yujonglee
347b642bdd
refactor(ocr): complete native lifecycle and preserve Azure auth ( #40734 )
...
* refactor(ocr): extract call completion boundary
* fix(ocr): release completion state after dispatch
* test(ocr): prove wrapper completion handoff
* test(ocr): narrow mapped failure assertion
* fix(ocr): preserve wrapper invocation kwargs
* fix(ocr): retain completion through finalization
* fix(ocr): make completion ownership explicit
* refactor(ocr): resolve logging executor explicitly
* fix(callbacks): preserve completion lifecycle behavior
* refactor(ocr): move public OCR into native lifecycle
* refactor(ocr): remove unused rust bridge capability
* wip
* wip
* refactor
* wip
* fix(ocr): preserve reducto native compatibility
* wip
* fix(ocr): document native callable casts
* perf(ocr): bound responses and reduce native scheduling overhead
* refactor(python-bridge): organize placeholder routes
* refactor test
* fix(ocr): normalize DeepSeek document content
* perf(ocr): skip unused callback work and benchmark callback overhead
* fix(ocr): align conversion contracts
* test(ocr): cover official provider response shapes
* fix(ocr): restore Python fallback and honor Rust opt-out
* fixes and refactor
* fix(ocr): preserve Azure Document Intelligence authentication
* fix(rust): enforce OCR response limits and lint contracts
* test(rust): align native OCR contract coverage
* test(ocr): isolate Azure auth precedence coverage
2026-09-12 11:56:49 -07:00
yujonglee
89f1f9567d
refactor(ocr): route native requests through core ( #40532 )
...
* refactor(ocr): route native Mistral through core
* fix(ocr): preserve Azure API base resolution
* chore(ocr): document bridge boundary casts
* fix(ocr): keep Azure environment resolution in Rust
* fix(ocr): centralize native execution and isolate request logging
* refactor(ocr): narrow native migration to bridge routing
---------
Co-authored-by: Stack Plan <stack-plan@example.invalid>
2026-09-11 12:37:19 -07:00
yujonglee
61b0def867
test(ocr): isolate native Rust bridge contracts ( #40410 )
...
* test(rust): add retained callback suite as expected failures
* fix(tests): narrow retained callback xfails
* test(rust): clarify retained callback contracts
* test(ocr): clarify retained Rust contracts
* test(ocr): restore guardrail contracts
* test(ocr): require Rust file input parity
* test(ocr): isolate native bridge contracts
* fix(ci): repair Rust dispatch and OSV checks
* test(ocr): assert explicit backend dispatch
2026-09-10 16:51:37 -07:00
yujonglee
13df85cceb
test: add Rust extension pytest contract ( #40181 )
...
* test: add Rust extension pytest contract
* test: prove native OCR execution
* test: isolate Rust extension pytest collection
* ci: register Rust extension test coverage
* test: prove native OCR at wire boundary
2026-09-07 18:46:29 -07:00