From 9f138ef2461f5371ff338e462fb504a9e0eac48b Mon Sep 17 00:00:00 2001 From: Xiyuan Chen <52963600+GareArc@users.noreply.github.com> Date: Fri, 19 Sep 2025 00:45:35 -0700 Subject: [PATCH] =?UTF-8?q?Refactor=20WorkflowService=20to=20handle=20miss?= =?UTF-8?q?ing=20default=20credentials=20gracef=E2=80=A6=20(#25960)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 97168c462b..359fdb85fd 100644 --- a/api/services/workflow_service.py +++ b/api/services/workflow_service.py @@ -450,7 +450,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