Skip to main content

interaction_correlation

Function interaction_correlation 

Source
pub fn interaction_correlation(
    instance_id: AgentInstanceId,
    generation: SessionGeneration,
    interaction_id: u64,
) -> String
Expand description

Correlation id of one interaction (approval or question) of a session.

Takes the (instance_id, generation, interaction_id) triple directly so the reverse lookup in a request handler can replay the same digest for each interaction a session’s live snapshot still remembers, without a ControlEvent to borrow the identity from.