diff --git a/api/services/workflow_service.py b/api/services/workflow_service.py index 5301491df7..e8ccade439 100644 --- a/api/services/workflow_service.py +++ b/api/services/workflow_service.py @@ -1418,7 +1418,7 @@ class WorkflowService: def validate_features_structure(self, app_model: App, features: dict): match app_model.mode: - case AppMode.ADVANCED_CHAT: + case AppMode.ADVANCED_CHAT | AppMode.AGENT: return AdvancedChatAppConfigManager.config_validate( tenant_id=app_model.tenant_id, config=features, only_structure_validate=True )