mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-21 00:21:49 +00:00
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. |
||
|---|---|---|
| .. | ||
| auth | ||
| auth-aws | ||
| auth-azure | ||
| auth-gcp | ||
| cache | ||
| cache-memory | ||
| core | ||
| python-bridge | ||
| python-interop | ||
| token-counter | ||