Skip to content

Commit

Permalink
fix: Fix session typo in workflow_trace method (#12031)
Browse files Browse the repository at this point in the history
  • Loading branch information
You-keitou authored Dec 24, 2024
1 parent 1c80941 commit e0c24c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/core/ops/ops_trace_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e0c24c0

Please sign in to comment.