Skip to main content

bind_local_roster_agent

Function bind_local_roster_agent 

Source
pub fn bind_local_roster_agent(
    storage_root: &Path,
    session_id: &str,
    agent: &AgentDefinition,
) -> Result<(), String>
Expand description

Bind the local session projection to a named roster agent immediately before its turn. The roster remains the source of truth; this small session record is used solely to attribute the persisted chat message.