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.

fix: add backward-compatible query param for decode_plugin_from_ident… (#34720)

zhangbububu4fb3fab82dc1
diff --git a/api/core/plugin/impl/plugin.py b/api/core/plugin/impl/plugin.py
index ec4858ae2e1..c75c30a98ac 100644
--- a/api/core/plugin/impl/plugin.py
+++ b/api/core/plugin/impl/plugin.py
@@ -209,7 +209,10 @@ class PluginInstaller(BasePluginClient):
"GET",
f"plugin/{tenant_id}/management/decode/from_identifier",
PluginDecodeResponse,
- params={"plugin_unique_identifier": plugin_unique_identifier},
+ params={
+ "plugin_unique_identifier": plugin_unique_identifier,
+ "PluginUniqueIdentifier": plugin_unique_identifier, # compat with daemon <= 0.5.4
+ },
)
def fetch_plugin_installation_by_ids(