pub async fn compact(
agent: &Agent,
instructions: Option<&str>,
) -> Result<AgentStream, AgentError>Expand description
Compact the session’s context now.
pub async fn compact(
agent: &Agent,
instructions: Option<&str>,
) -> Result<AgentStream, AgentError>Compact the session’s context now.