Skip to main content

Module models

Module models 

Source
Expand description

Exact model identity, discovery values, and the opaque model handle.

ModelId is validated but never normalized, aliased, or replaced by a default. Select a model through crate::ProviderBackend::model; ModelBackend owns generation, embeddings, batch submission, and native session opening. Operation errors, not a capability matrix, establish unsupported combinations. Supplied Model clones share their Provider lifecycle and have no separate shutdown.

Structs§

Model
Cloneable opaque handle for one exact selected model.
ModelId
Validated exact provider-local model identity.
ModelListRequest
Validated model-list pagination request.
ModelPage
One page of provider model metadata.
ModelSummary
Descriptive model metadata.

Traits§

ModelBackend
Public implementation contract for one exact selected model.