Skip to main content

queue_dream

Function queue_dream 

Source
pub(crate) fn queue_dream(
    state: &AppState,
    agent_id: &str,
    trigger_kind: &str,
    now_ms: i64,
) -> Result<String, String>
Expand description

Queue a dream of an agent’s personal memory. One at a time per agent: an agent that has a dream queued or running gets none more.