refactor: make ChatflowMemoryVariable.value JSON

This commit is contained in:
Stream
2025-09-22 16:46:39 +08:00
parent 394b7d09b8
commit d654d9d8b1
2 changed files with 10 additions and 5 deletions

View File

@ -79,6 +79,10 @@ class MemoryBlockWithVisibility(BaseModel):
end_user_editable: bool
class MemoryValueData(BaseModel):
value: str
class ChatflowConversationMetadata(BaseModel):
"""Metadata for chatflow conversation with visible message count"""
type: str = "mutable_visible_window"