Skip to main content

Crate rpi_runtime

Crate rpi_runtime 

Source
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§

ModelIdentity
Full routing identity; display labels are never parsed to identify a model.
ModelRequest
An explicit selection, separate from defaults persisted by the host.
ModelSelection
ProviderDeclaration
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.
RuntimeConfig
Immutable configuration inputs read from any host-owned storage. Keep this object private: it contains credentials and unexpanded headers.
RuntimeSettings
Model defaults supplied by the host, independent of its storage format.
RuntimeSnapshot
Credential-free state suitable for serving to a UI or observing over watch.