Skip to main content

Module identity

Module identity 

Source
Expand description

Adapter binding identity (spec 009, 3.2.3) and served-model identity (3.7, I-2).

Structs§

AdapterBinding
Every output-affecting input of a remote adapter (3.2.3). Its digest is the adapter’s ArtifactId, so a change to any of them changes the descriptor identity and the PlanId of every plan compiled against the adapter. Credentials, network addresses, concurrency and cost rates are configuration, never members.
IdentityMismatch
A served identity that contradicts a pinned one (3.7): the attempt fails identity_mismatch and its output is never supplied.

Constants§

BINDING_SCHEMA
The tag of an adapter binding’s digest.

Functions§

served_identity
The served identity to record, from the negotiated terms and what the remote side reported for this exchange.