From c871fbb92ea99ea269c53656705940458f9c842b Mon Sep 17 00:00:00 2001 From: hjlarry Date: Tue, 27 May 2025 10:22:36 +0800 Subject: [PATCH] fix not save workflow_run_id of chatflow message --- api/core/app/apps/advanced_chat/generate_task_pipeline.py | 1 + 1 file changed, 1 insertion(+) diff --git a/api/core/app/apps/advanced_chat/generate_task_pipeline.py b/api/core/app/apps/advanced_chat/generate_task_pipeline.py index e43417668d..0a2401f953 100644 --- a/api/core/app/apps/advanced_chat/generate_task_pipeline.py +++ b/api/core/app/apps/advanced_chat/generate_task_pipeline.py @@ -315,6 +315,7 @@ class AdvancedChatAppGenerateTaskPipeline: task_id=self._application_generate_entity.task_id, workflow_execution=workflow_execution, ) + session.commit() yield workflow_start_resp elif isinstance(