def merge_plugin_pool(pool1: List[PluginEntry], pool2: List[PluginEntry]) -> List[PluginEntry]:
        """
        Merge two plugin pools and remove duplicates
        """
        merged_list: List[PluginEntry] = pool1 + pool2
        result: List[PluginEntry] = []

        for item in merged_list:
            is_duplicate = False
            for existing_item in result:
                if item.name == existing_item.name:
                    is_duplicate = True
                    break
            if not is_duplicate:
                result.append(item)
        return result

        Merge two plugin pools and remove duplicates
        
taskweaver/code_interpreter/plugin_selection.py