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
refactor(list_operator): replace ValueError with InvalidKeyError (#10222)
-LAN-9369cc44e615
diff --git a/api/core/workflow/nodes/list_operator/node.py b/api/core/workflow/nodes/list_operator/node.pyindex 6053a15d962..0406b97eb89 100644--- a/api/core/workflow/nodes/list_operator/node.py+++ b/api/core/workflow/nodes/list_operator/node.py@@ -295,4 +295,4 @@ def _order_file(*, order: Literal["asc", "desc"], order_by: str = "", array: Seqextract_func = _get_file_extract_number_func(key=order_by)return sorted(array, key=lambda x: extract_func(x), reverse=order == "desc")else:- raise ValueError(f"Invalid order key: {order_by}")+ raise InvalidKeyError(f"Invalid order key: {order_by}")