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: When editing an Agent, selecting custom tools does not allow filtering by labels. (#6197)

dufei109de52fe26b
diff --git a/api/services/tools/api_tools_manage_service.py b/api/services/tools/api_tools_manage_service.py
index 9a0d6ca8d94..ecc065d521c 100644
--- a/api/services/tools/api_tools_manage_service.py
+++ b/api/services/tools/api_tools_manage_service.py
@@ -429,6 +429,7 @@ class ApiToolManageService:
db_provider=provider,
decrypt_credentials=True
)
+ user_provider.labels = labels
# add icon
ToolTransformService.repack_provider(user_provider)