mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-25 22:20:43 +00:00
435 B
435 B
litellm-python-bridge is the PyO3 cdylib that exposes LiteLLM Rust APIs to the Python SDK. Keep API registration, domain dependency wiring, request assembly, shared HTTP client ownership, and Python exception mapping here. Put domain-neutral Python/Serde conversion and GIL primitives in litellm-python-interop
Keep it thin: no business logic, no transforms, no I/O orchestration — just marshal in/out and call the core entrypoint.