ソースを参照

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

tags/1.9.0
Xiyuan Chen 1ヶ月前
コミット
9f138ef246
コミッターのメールアドレスに関連付けられたアカウントが存在しません
1個のファイルの変更2行の追加1行の削除
  1. 2
    1
      api/services/workflow_service.py

+ 2
- 1
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

読み込み中…
キャンセル
保存