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: custom tool max tool (#2641)

takatost1a677da79253
diff --git a/api/services/tools_manage_service.py b/api/services/tools_manage_service.py
index 9c8c0dbfac2..7e305c3f7bb 100644
--- a/api/services/tools_manage_service.py
+++ b/api/services/tools_manage_service.py
@@ -209,8 +209,8 @@ class ToolManageService:
# extra info like description will be set here
tool_bundles, schema_type = ToolManageService.convert_schema_to_tool_bundles(schema, extra_info)
- if len(tool_bundles) > 10:
- raise ValueError('the number of apis should be less than 10')
+ if len(tool_bundles) > 100:
+ raise ValueError('the number of apis should be less than 100')
# create db provider
db_provider = ApiToolProvider(