async def join_conversation(
        self,
        sid: str,
        connection_id: str,
        settings: Settings,
        user_id: str | None,
    ) -> AgentLoopInfo | None:
        """Join a conversation and return its event stream."""
Join a conversation and return its event stream.
openhands/server/conversation_manager/conversation_manager.py