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.

minor fix: add parameters in error msg of Plugin service returned no options (#21662)

NeatGuyCodinga82943a83dbf
diff --git a/api/core/plugin/impl/dynamic_select.py b/api/core/plugin/impl/dynamic_select.py
index f4fb051ee1c..004412afd7d 100644
--- a/api/core/plugin/impl/dynamic_select.py
+++ b/api/core/plugin/impl/dynamic_select.py
@@ -42,4 +42,4 @@ class DynamicSelectClient(BasePluginClient):
for options in response:
return options
- raise ValueError("Plugin service returned no options")
+ raise ValueError(f"Plugin service returned no options for parameter '{parameter}' in provider '{provider}'")