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