async def get_connections(
        self, user_id: str | None = None, filter_to_sids: set[str] | None = None
    ) -> dict[str, str]:
        """Get all connections, optionally filtered by user ID and session IDs."""
Get all connections, optionally filtered by user ID and session IDs.
openhands/server/conversation_manager/conversation_manager.py