supportedCapabilities property
Set of capabilities this provider supports
This represents the general capabilities of the provider, but actual support may vary by specific model or configuration.
Implementation
@override
Set<LLMCapability> get supportedCapabilities => {
LLMCapability.chat,
LLMCapability.streaming,
LLMCapability.toolCalling,
if (config.supportsVision) LLMCapability.vision,
if (config.supportsReasoning) LLMCapability.reasoning,
if (config.supportsImageGeneration) LLMCapability.imageGeneration,
if (config.supportsEmbeddings) LLMCapability.embedding,
if (_supportsTTS) LLMCapability.textToSpeech,
if (_supportsTTS) LLMCapability.streamingTextToSpeech,
};