ProviderDefaults class
Centralized provider default configurations
This file contains all default endpoints, models, and capabilities for all supported providers to eliminate configuration duplication and ensure consistency across the library.
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 Methods
-
getCapabilities(
String providerId) → Set< LLMCapability> - Get supported capabilities for a provider
-
getDefaults(
String providerId) → Map< String, dynamic> - Get default configuration for a provider
Constants
- anthropicBaseUrl → const String
- anthropicDefaultModel → const String
- azureOpenAIApiVersion → const String
- deepseekBaseUrl → const String
- deepseekDefaultModel → const String
- elevenLabsBaseUrl → const String
- elevenLabsDefaultSTTModel → const String
- elevenLabsDefaultTTSModel → const String
- elevenLabsDefaultVoiceId → const String
-
elevenLabsSupportedAudioFormats
→ const List<
String> - githubCopilotBaseUrl → const String
- githubCopilotDefaultModel → const String
- googleBaseUrl → const String
- googleDefaultModel → const String
- groqBaseUrl → const String
- groqDefaultModel → const String
- ollamaBaseUrl → const String
- ollamaDefaultModel → const String
- openaiBaseUrl → const String
- openaiDefaultAudioFormat → const String
- openaiDefaultModel → const String
- openaiDefaultSTTModel → const String
- openaiDefaultTTSModel → const String
- openaiDefaultVoice → const String
-
openaiSupportedImageFormats
→ const List<
String> -
openaiSupportedImageSizes
→ const List<
String> -
openaiSupportedSTTFormats
→ const List<
String> -
openaiSupportedTTSFormats
→ const List<
String> -
openaiSupportedVoices
→ const List<
String> - openRouterBaseUrl → const String
- openRouterDefaultModel → const String
- phindBaseUrl → const String
- phindDefaultModel → const String
- togetherAIBaseUrl → const String
- togetherAIDefaultModel → const String
- xaiBaseUrl → const String
- xaiDefaultModel → const String