Session
stop
Stop the session and clean up resources
This method sends a close request to the API and verifies that the session was properly closed. It logs the session closure and raises an error if the session fails to close
Signature
Returns
None
Raises
ValueError
: If the session hasn’t been started (no session_id available).RuntimeError
: If the session fails to close properly.