litellm/litellm-rust/crates/python-bridge/src
Yujong Lee c621435ef7 refactor(ocr): move file preparation from the python bridge into litellm-core
Delete litellm/ocr/input.py and the native _ocr_file_document, _ocr_upload_document
and _ocr_mime_type helpers. File documents now project to a typed OcrDocumentInput
and the core lifecycle reads local paths, encodes bytes and asks the host to read
file-like objects through a ReadDocument operation before the provider request

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-16 21:02:30 +00:00
..
lifecycle ci(rust): split rust jobs, use nextest and Swatinem/rust-cache 2026-09-16 19:14:32 +00:00
routes refactor(ocr): move file preparation from the python bridge into litellm-core 2026-09-16 21:02:30 +00:00
auth.rs refactor(rust): extract auth and cache crates 2026-09-16 18:12:11 +00:00
constants.rs feat(rust_bridge): count budget-check input tokens in Rust on all LLM routes (#40381) 2026-09-10 13:56:30 -07:00
diagnostics.rs refactor(python-bridge): split routes and add shared function tracing (#39031) 2026-09-02 16:26:35 -07:00
errors.rs refactor(rust): extract auth and cache crates 2026-09-16 18:12:11 +00:00
execution.rs refactor(rust): extract auth and cache crates 2026-09-16 18:12:11 +00:00
lib.rs refactor(rust): extract auth and cache crates 2026-09-16 18:12:11 +00:00
marshal.rs ci(rust): split rust jobs, use nextest and Swatinem/rust-cache 2026-09-16 19:14:32 +00:00
token_counter.rs feat(rust): count tiktoken cl100k_base admission tokens in Rust (#40777) 2026-09-11 23:47:05 +00:00