From 3b70f8ac0806a9a48f9fcc5499d08f190f6ff3f3 Mon Sep 17 00:00:00 2001 From: jyong <718720800@qq.com> Date: Fri, 11 Jul 2025 15:25:58 +0800 Subject: [PATCH] r2 --- api/services/workflow_service.py | 2 ++ .../services/test_workflow_draft_variable_service.py | 1 + 2 files changed, 3 insertions(+) diff --git a/api/services/workflow_service.py b/api/services/workflow_service.py index 39bb836172..712a38d6f6 100644 --- a/api/services/workflow_service.py +++ b/api/services/workflow_service.py @@ -262,6 +262,8 @@ class WorkflowService: conversation_variables=draft_workflow.conversation_variables, marked_name=marked_name, marked_comment=marked_comment, + rag_pipeline_variables=draft_workflow.rag_pipeline_variables, + features=draft_workflow.features, ) # commit db session changes diff --git a/api/tests/integration_tests/services/test_workflow_draft_variable_service.py b/api/tests/integration_tests/services/test_workflow_draft_variable_service.py index 30cd2e60cb..9d6d2cc33d 100644 --- a/api/tests/integration_tests/services/test_workflow_draft_variable_service.py +++ b/api/tests/integration_tests/services/test_workflow_draft_variable_service.py @@ -377,6 +377,7 @@ class TestWorkflowDraftVariableServiceResetVariable(unittest.TestCase): created_by=str(uuid.uuid4()), environment_variables=[], conversation_variables=conversation_vars, + rag_pipeline_variables=[], ) return workflow