mirror of
https://github.com/BerriAI/litellm.git
synced 2026-12-03 01:38:46 +00:00
510 B
510 B
Own the HTTP driver for hosted calls, including response-body demand, cancellation, and lifecycle observation
serve and serve_unary receive NativeHooks. Their event contract covers response conversion and body delivery
Keep endpoint paths, request parsing, deployment selection, and API-specific response and error formats in gateway-inference
Depend on the neutral host protocol, never on core routes, Python, or gateway crates
Do not spawn producer tasks or buffer chunks ahead of HTTP body demand