fix: ops trace slow db (#5812)

This commit is contained in:
Joe 2024-07-01 17:09:53 +08:00 committed by GitHub
parent 71bcf75d9a
commit b7b1396c51
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 2 deletions

View File

@ -109,7 +109,6 @@ class LangFuseDataTrace(BaseTraceInstance):
workflow_nodes_executions = (
db.session.query(WorkflowNodeExecution)
.filter(WorkflowNodeExecution.workflow_run_id == trace_info.workflow_run_id)
.order_by(WorkflowNodeExecution.index.desc())
.all()
)

View File

@ -102,7 +102,6 @@ class LangSmithDataTrace(BaseTraceInstance):
workflow_nodes_executions = (
db.session.query(WorkflowNodeExecution)
.filter(WorkflowNodeExecution.workflow_run_id == trace_info.workflow_run_id)
.order_by(WorkflowNodeExecution.index.desc())
.all()
)