feat: add Web API for memory read and modify

This commit is contained in:
Stream
2025-08-21 17:17:08 +08:00
parent 1fa8b26e55
commit 0d95c2192e
3 changed files with 116 additions and 4 deletions

View File

@ -92,6 +92,13 @@ class MemoryBlock(BaseModel):
"""Check if this is node-level scope"""
return self.node_id is not None
class MemoryBlockWithVisibility(BaseModel):
id: str
name: str
value: str
end_user_visible: bool
end_user_editable: bool
class ChatflowConversationMetadata(BaseModel):
"""Metadata for chatflow conversation with visible message count"""