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(app_dsl_service): handle missing app mode with a ValueError (#11945)
-LAN-2ad2a402fb1c
diff --git a/api/services/app_dsl_service.py b/api/services/app_dsl_service.pyindex 8180c3b4007..0478903fa4d 100644--- a/api/services/app_dsl_service.py+++ b/api/services/app_dsl_service.py@@ -340,7 +340,10 @@ class AppDslService:) -> App:"""Create a new app or update an existing one."""app_data = data.get("app", {})- app_mode = AppMode(app_data["mode"])+ app_mode = app_data.get("mode")+ if not app_mode:+ raise ValueError("loss app mode")+ app_mode = AppMode(app_mode)# Set icon typeicon_type_value = icon_type or app_data.get("icon_type")