Skip to main content

routine_decision

Function routine_decision 

Source
fn routine_decision(
    status: &AgentStatus,
    cold_after_ms: Option<u64>,
) -> Decision
Expand description

decide for a routine message to an agent in status. The offline model API is asked apart from the cold-session rule: a cold session’s verdict is Wait Cold, which would otherwise hide it, and the replay would inject what was held for the API into a turn that fails.