mirror of
https://github.com/langgenius/dify.git
synced 2026-05-05 09:58:04 +08:00
feat: add Web API for memory read and modify
This commit is contained in:
@ -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"""
|
||||
|
||||
Reference in New Issue
Block a user