feat: init memory block for VariablePool in AdvancedChatAppRunner.run

This commit is contained in:
Stream 2025-08-21 11:40:30 +08:00
parent 7b602e9003
commit a13cb7e1c5
No known key found for this signature in database
GPG Key ID: 9475891C9507B4F3
1 changed files with 1 additions and 0 deletions

View File

@ -149,6 +149,7 @@ class AdvancedChatAppRunner(WorkflowBasedAppRunner):
# Based on the definition of `VariableUnion`,
# `list[Variable]` can be safely used as `list[VariableUnion]` since they are compatible.
conversation_variables=cast(list[VariableUnion], conversation_variables),
memory_blocks=self._fetch_memory_blocks(),
)
# init graph