mirror of
https://github.com/langgenius/dify.git
synced 2026-04-08 17:27:19 +08:00
refactor: use VersionedMemoryVariable in ChatflowMemoryService.get_memory_by_spec
This commit is contained in:
parent
626e7b2211
commit
2c765ccfae
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user