pub enum ModelVisibility {
Visible,
Hidden,
}Expand description
Whether a record participates in model projection.
Persistence and a user-facing timeline may retain ModelVisibility::Hidden
records even though model projection omits them. Every Item variant
carries one, so the projection rule is total: there is no record shape whose
model visibility is undecided.
§Exchange visibility
A tool exchange is visible as a whole or not at all. Every
ToolResult reef commits for a generation takes the visibility of the
Assistant record that carries its call, so hiding an assistant record
hides the results answering it. A history that violates this — a visible
result whose call is hidden, or a visible call whose result is hidden — is
refused by
RequestPlan::try_into_request rather
than silently projected into an illegal request.
Variants§
Visible
Include the record in model projection.
Hidden
Retain the record while omitting it from model projection.