Enter to send·Shift+Enter new line
set_session_mode( self, mode_id: str, session_id: str, kwargs: Any = {}
Switch the session to a different mode, resetting the agent.