mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-08 22:21:35 +00:00
Adds a chat_completions route module to litellm-core, mirroring the messages route, plus Anthropic Messages and Bedrock Converse provider configs. The per-model `rust: true` opt-in now covers /chat/completions for both providers. The core accepts an allowlisted subset (text conversations, non-streaming) and returns CoreError::Unsupported for anything else, so tool calls, multimodal content and streaming fall back to the Python path transparently. Resolves LIT-5698 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| chat_completions.py | ||
| loader.py | ||
| messages.py | ||
| ocr.py | ||
| responses_websocket.py | ||
| timeouts.py | ||
| transcription.py | ||