pub async fn finalize_runner(
runners: &Arc<RwLock<HashMap<String, AgentRunner>>>,
session_id: &str,
result: &Result<(), AgentError>,
)Expand description
Update a runner’s terminal status and completion timestamp.
pub async fn finalize_runner(
runners: &Arc<RwLock<HashMap<String, AgentRunner>>>,
session_id: &str,
result: &Result<(), AgentError>,
)Update a runner’s terminal status and completion timestamp.