litellm/litellm-rust
Yujong Lee 678e59c6b4 refactor(python-bridge): drop OCR callback fast path and body re-aliasing
The bridge kept a Rust-side shadow of Logging's callback registries and
elided pre_call/post_call/success_handler when it thought nothing was
listening. That forked the logging contract and hid a bug: with callbacks
present, the during-call hook re-inserted the caller's original document
and unmapped optional params over the provider-transformed body.

Call the real Logging handlers unconditionally, like the Python wrapper
does, and hand callbacks a fresh dict built from core's composed body
instead of re-aliasing caller objects into it.
2026-09-16 17:50:11 +00:00
..
crates refactor(python-bridge): drop OCR callback fast path and body re-aliasing 2026-09-16 17:50:11 +00:00
.gitignore feat: add LiteLLM Rust workspace with Mistral OCR bridge (#31033) 2026-06-23 13:16:47 -07:00
AGENTS.md refactor(rust): localize route errors 2026-09-16 17:50:10 +00:00
Cargo.lock cleanup dead code 2026-09-16 17:50:11 +00:00
Cargo.toml more porting alignment 2026-09-16 17:50:10 +00:00