Expand description
Host-independent model configuration, authentication and execution bindings.
Hosts load their own configuration and credentials, supply a ValueSource,
and adapt any already-loaded extension providers through ProviderRegistry.
The library does not discover files, load plugins, or depend on a terminal.
Re-exports§
pub use provider::ResolveError;pub use provider::ResolvedModel;pub use provider::RuntimeFactories as ProviderRegistry;pub use values::ValueSource;
Modules§
- config
- Host-supplied configuration and provider-scoped credentials. No file access.
- credentials
- Shared, provider-scoped credential resolution for requests and auth UI. Provider packages own their environment names and anonymous policy. The host owns persistence and precedence, and never guesses a key from a wire protocol.
- provider
- Model catalog merging, provider-scoped selection and private execution binding.
- thinking
- Shared thinking-level parsing.
- values
- Explicit environment and secret-command access supplied by the host.
Structs§
- Model
Identity - Full routing identity; display labels are never parsed to identify a model.
- Model
Request - An explicit selection, separate from defaults persisted by the host.
- Model
Selection - Provider
Declaration - Provider metadata supplied by the host’s existing extension registry.
- Runtime
- An optional atomic publication boundary for embedded applications. Hosts continue to own configuration storage, plugin loading and request cancellation.
- Runtime
Config - Immutable configuration inputs read from any host-owned storage. Keep this object private: it contains credentials and unexpanded headers.
- Runtime
Settings - Model defaults supplied by the host, independent of its storage format.
- Runtime
Snapshot - Credential-free state suitable for serving to a UI or observing over watch.