Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

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

Xiyuan Chen9f138ef2461f
diff --git a/api/services/workflow_service.py b/api/services/workflow_service.py
index 97168c462b6..359fdb85fd6 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