Structs§
- Feature
Support - A feature that can be either natively supported by the provider or implemented by the wrapper.
- Features
- All feature flags for a provider.
- Provider
Capability - Full capability declaration for a provider.
- Resolved
Model - Result of resolving a model alias.
- Session
LogSupport - Session log support with completeness level.
- Size
Mappings - Size alias mappings for a provider.
- Streaming
Input Support - 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.