def _get_type_name(self, item: Any, full: bool = False):
        """Given a config type, return a string that is either the full name or just the class name."""
        full_name = str(item).removeprefix("<class '").removesuffix("'>")
        if full:
            return full_name
        return full_name.split(".")[-1]
Given a config type, return a string that is either the full name or just the class name.
sweagent/run/common.py