浏览代码

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

正在加载...
取消
保存