(self)
| 28 | self.cache = None |
| 29 | |
| 30 | def save_cache(self): |
| 31 | if self.args.use_cache: |
| 32 | with open(self.cache_path, "w") as f: |
| 33 | json.dump(self.cache, f, indent=4) |
| 34 | |
| 35 | # @abstractmethod |
| 36 | def _run_single(self, prompt: str | list[dict[str, str]]) -> list[str]: |