MCPcopy Index your code
hub / github.com/OpenBMB/ChatDev / _save_memories

Method _save_memories

workflow/graph.py:255–258  ·  view source on GitHub ↗

Save all memories after execution.

(self)

Source from the content-addressed store, hash-verified

253 return self._human_prompt_service
254
255 def _save_memories(self) -> None:
256 """Save all memories after execution."""
257 for memory in self.global_memories.values():
258 memory.save()
259
260 def run(self, task_prompt: Any) -> Dict[str, Any]:
261 """Execute the graph based on topological layers structure or cycle-aware execution."""

Callers 1

runMethod · 0.95

Calls 1

saveMethod · 0.45

Tested by

no test coverage detected