def get_session(
        self,
        session_id: Optional[str] = None,
        prev_round_id: Optional[str] = None,
    ) -> Session:
        """
        Get the session. Return a new session if the session ID is not provided.
        :param session_id: The session ID.
        :param prev_round_id: The previous round ID.
        :return: The session.
        """
        return self.session_manager.get_session(session_id, prev_round_id)

        Get the session. Return a new session if the session ID is not provided.
        :param session_id: The session ID.
        :param prev_round_id: The previous round ID.
        :return: The session.
        
taskweaver/app/app.py