From e0c24c0e99901e0531ed1dab4a05e9f19a827052 Mon Sep 17 00:00:00 2001 From: Yang Jingtao <83807321+You-keitou@users.noreply.github.com> Date: Tue, 24 Dec 2024 11:30:31 +0900 Subject: [PATCH] fix: Fix session typo in workflow_trace method (#12031) --- api/core/ops/ops_trace_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/core/ops/ops_trace_manager.py b/api/core/ops/ops_trace_manager.py index a04fc6ee789fd0..4f41b6ed97047f 100644 --- a/api/core/ops/ops_trace_manager.py +++ b/api/core/ops/ops_trace_manager.py @@ -360,7 +360,7 @@ def workflow_trace(self, workflow_run: WorkflowRun | None, conversation_id, user raise ValueError("Workflow run not found") db.session.merge(workflow_run) - db.sessoin.refresh(workflow_run) + db.session.refresh(workflow_run) workflow_id = workflow_run.workflow_id tenant_id = workflow_run.tenant_id