Skip to main content

end_session

Function end_session 

Source
fn end_session(block_id: &str) -> Result<Option<String>, &'static str>
Expand description

End block_id’s provider session, so the next message starts a new one. An ACP agent’s old session id comes back, so the new session’s first message can name it.