Kaynağa Gözat

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

tags/1.9.0
Xiyuan Chen 1 ay önce
ebeveyn
işleme
9f138ef246
No account linked to committer's email address
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. 2
    1
      api/services/workflow_service.py

+ 2
- 1
api/services/workflow_service.py Dosyayı Görüntüle

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

Loading…
İptal
Kaydet