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.
StreamingInputSupport
Streaming input support with mid-turn injection semantics.

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_models_text
Render a plain text listing of models grouped by provider, as printed by zag discover --models.
format_provider_detail
Render the per-provider detail block printed by zag discover -p <name>.
format_resolved_model
Format a resolved model into the requested output format.
format_summary_table
Render a provider-summary text table identical to the one printed by zag discover. Columns: provider, default model, model count, resume, json output, session-log completeness.
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.