CompatibilityProfile
Category: Providers
Source: compatibility_profile.dart
Compatibility profiles capture per-vendor quirks around an otherwise OpenAI-shaped Chat Completions API.
The profile lives on [ProviderDef.compatibility]; when omitted, callers default to [CompatibilityProfile.openai] (vanilla). Each variant mutates a request body and/or headers just enough to keep the common 90% working.
Enums
CompatibilityProfile
| Value | Description |
|---|---|
openai | |
groq | |
openrouter | |
vllm | |
mistral |