fix: fix bugs check by Claude Code

This commit is contained in:
Stream
2025-08-22 19:59:17 +08:00
parent 48f3c69c69
commit 05d231ad33
4 changed files with 46 additions and 28 deletions

View File

@ -62,7 +62,7 @@ class VariablePool(BaseModel):
self.add((CONVERSATION_VARIABLE_NODE_ID, var.name), var)
# Add memory blocks to the variable pool
for memory_id, memory_value in self.memory_blocks.items():
self.add(['memory_block', memory_id], memory_value)
self.add([CONVERSATION_VARIABLE_NODE_ID, memory_id], memory_value)
def add(self, selector: Sequence[str], value: Any, /) -> None:
"""