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: code execution node not display clear reasons when sandbox res error (#6830)
非法操作bf3f1027c8e6
diff --git a/api/core/helper/code_executor/code_executor.py b/api/core/helper/code_executor/code_executor.pyindex 5b69d3af4be..afb2bbbbf31 100644--- a/api/core/helper/code_executor/code_executor.py+++ b/api/core/helper/code_executor/code_executor.py@@ -107,11 +107,11 @@ class CodeExecutor:response = response.json()except:raise CodeExecutionException('Failed to parse response')++ if (code := response.get('code')) != 0:+ raise CodeExecutionException(f"Got error code: {code}. Got error msg: {response.get('message')}")response = CodeExecutionResponse(**response)-- if response.code != 0:- raise CodeExecutionException(response.message)if response.data.error:raise CodeExecutionException(response.data.error)