litellm/litellm-rust/crates/core/src
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
..
audio_transcription refactor(rust): remove core provider reexports 2026-09-17 22:55:15 +00:00
call_lifecycle fmt 2026-09-16 20:21:51 -07:00
chat_completions refactor(rust): remove core provider reexports 2026-09-17 22:55:15 +00:00
litellm_core_utils refactor(rust): extract provider translations 2026-09-17 22:46:02 +00:00
llms fix(ocr): keep a downloaded document inlined when callbacks intercept the request 2026-09-17 17:48:52 -07:00
messages refactor(rust): remove core provider reexports 2026-09-17 22:55:15 +00:00
ocr fix(ocr): keep a downloaded document inlined when callbacks intercept the request 2026-09-17 17:48:52 -07:00
responses refactor(rust): extract auth and cache crates 2026-09-16 18:12:11 +00:00
transport refactor(rust): extract auth and cache crates 2026-09-16 18:12:11 +00:00
call_arguments.rs fmt 2026-09-16 20:21:51 -07:00
constants.rs refactor(rust): remove gateway, config, router, realtime, and trace-parity infrastructure 2026-09-16 16:00:07 +00:00
error.rs refactor(rust): extract auth and cache crates 2026-09-16 18:12:11 +00:00
http_utils.rs fmt 2026-09-16 20:21:51 -07:00
lib.rs providers folder is gone 2026-09-17 07:52:14 -07:00
media.rs fmt 2026-09-16 20:21:51 -07:00
params.rs refactor(rust): drop unused OpaqueParams body-composition helpers 2026-09-17 06:54:18 -07:00
serde_compat.rs fmt 2026-09-16 20:21:51 -07:00
url_utils.rs refactor(rust): extract auth and cache crates 2026-09-16 18:12:11 +00:00