litellm/litellm-rust/crates/core
Yujong Lee f8190bbe80 refactor(python-bridge): classify callbacks natively instead of function_setup
Native OCR setup no longer calls utils.function_setup. The bridge reads
registration facts (coroutine-ness, CustomLogger, known names, existing list
membership) and core's plan_registration decides every public registry
mutation, which the bridge writes back through litellm.rust_bridge.setup.
The Logging object is built by a narrow Python factory with the same
constructor arguments. Caller-supplied Logging instances keep identity and
skip registration.

A differential test asserts registry side effects equal function_setup for
nine registration shapes; mutating the planner fails four of them.
2026-09-16 17:50:11 +00:00
..
src refactor(python-bridge): classify callbacks natively instead of function_setup 2026-09-16 17:50:11 +00:00
AGENTS.md wip 2026-09-16 17:50:10 +00:00
Cargo.toml cleanup dead code 2026-09-16 17:50:11 +00:00