mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +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 |
||
|---|---|---|
| .. | ||
| client.rs | ||
| common_utils.rs | ||
| handler.rs | ||
| mod.rs | ||
| prepare.rs | ||
| tests.rs | ||
| transformation.rs | ||
| types.rs | ||