mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-21 00:21:49 +00:00
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. |
||
|---|---|---|
| .. | ||
| benches | ||
| src | ||
| tests | ||
| AGENTS.md | ||
| build.rs | ||
| Cargo.toml | ||
| CLAUDE.md | ||