Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix: update workflow trace query (#6010)
Joe3f0da88ff7ae
diff --git a/api/core/ops/langfuse_trace/langfuse_trace.py b/api/core/ops/langfuse_trace/langfuse_trace.pyindex 0441475921b..cb863964201 100644--- a/api/core/ops/langfuse_trace/langfuse_trace.py+++ b/api/core/ops/langfuse_trace/langfuse_trace.py@@ -107,7 +107,20 @@ class LangFuseDataTrace(BaseTraceInstance):# through workflow_run_id get all_nodes_executionworkflow_nodes_executions = (- db.session.query(WorkflowNodeExecution)+ db.session.query(+ WorkflowNodeExecution.id,+ WorkflowNodeExecution.tenant_id,+ WorkflowNodeExecution.app_id,+ WorkflowNodeExecution.title,+ WorkflowNodeExecution.node_type,+ WorkflowNodeExecution.status,+ WorkflowNodeExecution.inputs,+ WorkflowNodeExecution.outputs,+ WorkflowNodeExecution.created_at,+ WorkflowNodeExecution.elapsed_time,+ WorkflowNodeExecution.process_data,+ WorkflowNodeExecution.execution_metadata,+ ).filter(WorkflowNodeExecution.workflow_run_id == trace_info.workflow_run_id).all())diff --git a/api/core/ops/langsmith_trace/langsmith_trace.py b/api/core/ops/langsmith_trace/langsmith_trace.pyindex 93d74cc9e34..0ce91db335c 100644--- a/api/core/ops/langsmith_trace/langsmith_trace.py+++ b/api/core/ops/langsmith_trace/langsmith_trace.py@@ -100,7 +100,20 @@ class LangSmithDataTrace(BaseTraceInstance):# through workflow_run_id get all_nodes_executionworkflow_nodes_executions = (- db.session.query(WorkflowNodeExecution)+ db.session.query(+ WorkflowNodeExecution.id,+ WorkflowNodeExecution.tenant_id,+ WorkflowNodeExecution.app_id,+ WorkflowNodeExecution.title,+ WorkflowNodeExecution.node_type,+ WorkflowNodeExecution.status,+ WorkflowNodeExecution.inputs,+ WorkflowNodeExecution.outputs,+ WorkflowNodeExecution.created_at,+ WorkflowNodeExecution.elapsed_time,+ WorkflowNodeExecution.process_data,+ WorkflowNodeExecution.execution_metadata,+ ).filter(WorkflowNodeExecution.workflow_run_id == trace_info.workflow_run_id).all())