Skip to main content

decide

Function decide 

Source
pub(super) fn decide(
    mstore: &Store,
    identity: &Store,
    req: &InjectionRequest,
    target_uid: &str,
    target_slug: &str,
    last_output_ms: Option<i64>,
    now_ms: i64,
    after_ms: i64,
) -> Decision
Expand description

The decision for a routine message to a running agent, and the words for why it was not held. Pure of the controllers: last_output_ms is session_last_output’s answer.