litellm/litellm-rust/crates/python-bridge/src/routes/ocr
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
..
callbacks.rs Merge remote-tracking branch 'origin/litellm_internal_staging' into litellm_ocr_custom_pricing 2026-09-12 15:42:59 -07:00
document.rs refactor(ocr): move file preparation from the python bridge into litellm-core 2026-09-16 21:02:30 +00:00
errors.rs refactor(ocr): move file preparation from the python bridge into litellm-core 2026-09-16 21:02:30 +00:00
lifecycle.rs refactor(ocr): move file preparation from the python bridge into litellm-core 2026-09-16 21:02:30 +00:00
mod.rs refactor(ocr): move file preparation from the python bridge into litellm-core 2026-09-16 21:02:30 +00:00
project.rs refactor(ocr): move file preparation from the python bridge into litellm-core 2026-09-16 21:02:30 +00:00
value.rs refactor(rust): extract auth and cache crates 2026-09-16 18:12:11 +00:00