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.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
perf: provide X-Dify-Version for marketplace api access (#26210)
Junyan Qin (Chin)f104839672cc
diff --git a/api/core/helper/marketplace.py b/api/core/helper/marketplace.pyindex 89dae4808f8..10f304c0873 100644--- a/api/core/helper/marketplace.py+++ b/api/core/helper/marketplace.py@@ -23,7 +23,7 @@ def batch_fetch_plugin_manifests(plugin_ids: list[str]) -> Sequence[MarketplacePreturn []url = str(marketplace_api_url / "api/v1/plugins/batch")- response = httpx.post(url, json={"plugin_ids": plugin_ids})+ response = httpx.post(url, json={"plugin_ids": plugin_ids}, headers={"X-Dify-Version": dify_config.project.version})response.raise_for_status()return [MarketplacePluginDeclaration(**plugin) for plugin in response.json()["data"]["plugins"]]@@ -36,7 +36,7 @@ def batch_fetch_plugin_manifests_ignore_deserialization_error(return []url = str(marketplace_api_url / "api/v1/plugins/batch")- response = httpx.post(url, json={"plugin_ids": plugin_ids})+ response = httpx.post(url, json={"plugin_ids": plugin_ids}, headers={"X-Dify-Version": dify_config.project.version})response.raise_for_status()result: list[MarketplacePluginDeclaration] = []for plugin in response.json()["data"]["plugins"]: