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: raise http request node error on httpx.request error (#11954)
-LAN-2c4df108e56a
diff --git a/api/core/ops/ops_trace_manager.py b/api/core/ops/ops_trace_manager.pyindex b7799ce1fbd..a04fc6ee789 100644--- a/api/core/ops/ops_trace_manager.py+++ b/api/core/ops/ops_trace_manager.py@@ -355,7 +355,13 @@ class TraceTask:def conversation_trace(self, **kwargs):return kwargs- def workflow_trace(self, workflow_run: WorkflowRun, conversation_id, user_id):+ def workflow_trace(self, workflow_run: WorkflowRun | None, conversation_id, user_id):+ if not workflow_run:+ raise ValueError("Workflow run not found")++ db.session.merge(workflow_run)+ db.sessoin.refresh(workflow_run)+workflow_id = workflow_run.workflow_idtenant_id = workflow_run.tenant_idworkflow_run_id = workflow_run.iddiff --git a/api/core/workflow/nodes/http_request/executor.py b/api/core/workflow/nodes/http_request/executor.pyindex 92f190091ba..b96402a76af 100644--- a/api/core/workflow/nodes/http_request/executor.py+++ b/api/core/workflow/nodes/http_request/executor.py@@ -249,6 +249,8 @@ class Executor:# request_args = {k: v for k, v in request_args.items() if v is not None}try:response = getattr(ssrf_proxy, self.method)(**request_args)+ except httpx.RequestError as e:+ raise HttpRequestNodeError(str(e))except ssrf_proxy.MaxRetriesExceededError as e:raise HttpRequestNodeError(str(e))return response