mirror of
https://github.com/langgenius/dify.git
synced 2026-05-03 00:48:04 +08:00
chore: remove the expensive decrypt action for tool list
This commit is contained in:
@ -726,7 +726,9 @@ class ToolManager:
|
||||
if "mcp" in filters:
|
||||
with Session(db.engine) as session:
|
||||
mcp_service = MCPToolManageService(session=session)
|
||||
mcp_providers = mcp_service.list_providers(tenant_id=tenant_id, for_list=True)
|
||||
mcp_providers = mcp_service.list_providers(
|
||||
tenant_id=tenant_id, for_list=True, include_sensitive=False
|
||||
)
|
||||
for mcp_provider in mcp_providers:
|
||||
result_providers[f"mcp_provider.{mcp_provider.name}"] = mcp_provider
|
||||
|
||||
|
||||
Reference in New Issue
Block a user