From d3ac5b1dd8b6c051b5ab558680073384686d4cac Mon Sep 17 00:00:00 2001 From: GareArc Date: Thu, 18 Sep 2025 23:56:04 -0700 Subject: [PATCH] Refactor WorkflowService to handle missing default credentials gracefully --- api/services/workflow_service.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/services/workflow_service.py b/api/services/workflow_service.py index ea73b6105e..94f537d525 100644 --- a/api/services/workflow_service.py +++ b/api/services/workflow_service.py @@ -452,7 +452,8 @@ class WorkflowService: ) if not default_provider: - raise ValueError("No default credential found") + # plugin does not require credentials, skip + return # Check credential policy compliance using the default credential ID from core.helper.credential_utils import check_credential_policy_compliance