Refactor WorkflowService to handle missing default credentials gracef… (#25960)

This commit is contained in:
Xiyuan Chen 2025-09-19 00:45:35 -07:00 committed by GitHub
parent 6453fc4973
commit 9f138ef246
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -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