pub async fn run_once_in_session(
session_manager: &SessionManager,
session_id: String,
message: String,
) -> Result<RunOnceResult>Expand description
Runs the agent once in an existing session.
session_manager– SessionManager instance to usesession_id– ID of the existing session to usemessage– user message to processtimeout– optional wall-clock limit