from pathlib import Path from typing import Dict from gpt_engineer.core.default.disk_memory import DiskMemory class PrepromptsHolder: def __init__(self, preprompts_path: Path): self.preprompts_path = preprompts_path def get_preprompts(self) -> Dict[str, str]: preprompts_repo = DiskMemory(self.preprompts_path) return {file_name: preprompts_repo[file_name] for file_name in preprompts_repo}