litellm/litellm-rust
Yuneng Jiang 726dbf0d0d
fix(ocr): keep a downloaded document inlined when callbacks intercept the request
Providers that cannot fetch a public document URL themselves (Azure AI
mistral document AI, Azure cohere parse, Vertex AI) download it and
inline it as a data URI. When a pre-call callback or debug logging
intercepts the request, the Python host hands the caller's original
document back into the body, so the provider request carried the URL
again and Azure's inline-only check rejected it with "invalid OCR
document data URI". The core now keeps the prepared document when a
hook returns the untouched caller document, while a hook that edits or
replaces the document still wins
2026-09-17 17:48:52 -07:00
..
crates fix(ocr): keep a downloaded document inlined when callbacks intercept the request 2026-09-17 17:48:52 -07:00
.gitignore feat: add LiteLLM Rust workspace with Mistral OCR bridge (#31033) 2026-06-23 13:16:47 -07:00
Cargo.lock refactor(rust): extract provider translations 2026-09-17 22:46:02 +00:00
Cargo.toml refactor(rust): extract provider translations 2026-09-17 22:46:02 +00:00