OpenAICompatibleConfigs class
Pre-configured OpenAI-compatible provider configurations
This file contains configurations for popular AI providers that offer OpenAI-compatible APIs, making it easy for users to switch between providers without manual configuration.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- gemini → OpenAICompatibleProviderConfig
-
Google Gemini configuration using OpenAI-compatible interface
final
Static Methods
-
getAllConfigs(
) → List< OpenAICompatibleProviderConfig> - Get all available OpenAI-compatible configurations
-
getConfig(
String providerId) → OpenAICompatibleProviderConfig? - Get configuration by provider ID
-
getModelCapabilities(
String providerId, String model) → ModelCapabilityConfig? - Get model capabilities for a specific provider and model
-
isOpenAICompatible(
String providerId) → bool - Check if a provider ID is OpenAI-compatible
Constants
- deepseek → const OpenAICompatibleProviderConfig
- DeepSeek configuration using OpenAI-compatible interface
- groq → const OpenAICompatibleProviderConfig
- Groq configuration using OpenAI-compatible interface
- openRouter → const OpenAICompatibleProviderConfig
- OpenRouter configuration using OpenAI-compatible interface
- phind → const OpenAICompatibleProviderConfig
- Phind configuration using OpenAI-compatible interface
- xai → const OpenAICompatibleProviderConfig
- xAI Grok configuration using OpenAI-compatible interface