Expand description
OpenAI Chat Completions compatible provider.
One implementation covers OpenAI, xAI, Groq, Cerebras, OpenRouter, Mistral, DeepSeek, MiniMax, HuggingFace, Kimi, and any other provider that implements the OpenAI Chat Completions API.
Behavioral differences are handled via OpenAiCompat flags in ModelConfig.
Structs§
- Open
AiCompat Provider - Unit struct — no state. All logic in the
StreamProviderimpl.