MCPcopy Create free account
hub / github.com/RUC-NLPIR/WebThinker / save_cache

Method save_cache

scripts/lcb_runner/runner/base_runner.py:30–33  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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]:

Callers 1

prompts_to_outputsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected