refactor: use VersionedMemoryVariable in ChatflowMemoryService.get_memory_by_spec

This commit is contained in:
Stream 2025-09-15 15:47:02 +08:00
parent 626e7b2211
commit 2c765ccfae
No known key found for this signature in database
GPG Key ID: 033728094B100D70
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ class ChatflowMemoryService:
if draft_vars:
draft_var = draft_vars[0]
return MemoryBlock(
value=draft_var.value,
value=draft_var.get_value().text,
tenant_id=tenant_id,
app_id=app_id,
conversation_id=conversation_id,