mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-16 23:41:43 +00:00
473 B
473 B
litellm-python-interop is the domain-neutral PyO3 foundation.
- Owns generic Python/Serde conversion (
marshal) and Python↔Tokio execution (execution) - Depends on PyO3 but no LiteLLM domain crate; no route types, no API registration, no cdylib
executionis generic over the caller's error type (map_error: fn(E) -> PyErr); the bridge passes its own mapper- Keep it free of
litellm-core,OcrRequest,CallServices, LiteLLM exceptions or_nativesurface