Skip to main content

Module capability

Module capability 

Source

Structs§

FeatureSupport
A feature that can be either natively supported by the provider or implemented by the wrapper.
Features
All feature flags for a provider.
ProviderCapability
Full capability declaration for a provider.
ResolvedModel
Result of resolving a model alias.
SessionLogSupport
Session log support with completeness level.
SizeMappings
Size alias mappings for a provider.

Constants§

PROVIDERS
Canonical list of provider names (excludes “auto” and “mock”).

Functions§

format_capabilities
Format a list of capabilities into the requested output format.
format_capability
Format a capability struct into the requested output format.
format_models
Format a models listing into the requested output format.
format_resolved_model
Format a resolved model into the requested output format.
get_all_capabilities
Get capabilities for all providers.
get_capability
Get capability declarations for a provider.
list_providers
List all available provider names.
models_to_vec
Convert a slice of string references into a Vec of owned Strings.
resolve_model
Resolve a model name or alias for a given provider.