feat: +cache

This commit is contained in:
莘权 马 2023-09-04 19:50:42 +08:00
parent 207ab96545
commit 63805c87f9

View file

@ -31,9 +31,6 @@ class BrainMemory(pydantic.BaseModel):
stack: List[Dict] = []
solution: List[Dict] = []
knowledge: List[Dict] = []
# If the fingerprint of the history text is found in the `historical_summary_fingerprint`,
# it indicates that the text has already been incorporated into the `history summary`.
historical_summary_fingerprint: List[str] = []
historical_summary: str = ""
last_history_id: str = ""
is_dirty: bool = False