Ask a question to get started
Enter to sendā¢Shift+Enter new line
End the session and close the stream.
Sends prompt end and session end events (if not already sent), then marks the session as inactive.
end( self, ) -> None