def parse_exclude_patterns(cls, value):
        """Convert string input to list if needed."""
        if isinstance(value, str):
            if not value.strip():
                return []
            # Split by commas and strip whitespace
            return [pattern.strip() for pattern in value.split(",") if pattern.strip()]
        return value
Convert string input to list if needed.
backend/airweave/platform/configs/config.py