mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-15 13:56:53 +08:00
fix: custom tool max tool (#2641)
This commit is contained in:
@@ -209,8 +209,8 @@ class ToolManageService:
|
|||||||
# extra info like description will be set here
|
# extra info like description will be set here
|
||||||
tool_bundles, schema_type = ToolManageService.convert_schema_to_tool_bundles(schema, extra_info)
|
tool_bundles, schema_type = ToolManageService.convert_schema_to_tool_bundles(schema, extra_info)
|
||||||
|
|
||||||
if len(tool_bundles) > 10:
|
if len(tool_bundles) > 100:
|
||||||
raise ValueError('the number of apis should be less than 10')
|
raise ValueError('the number of apis should be less than 100')
|
||||||
|
|
||||||
# create db provider
|
# create db provider
|
||||||
db_provider = ApiToolProvider(
|
db_provider = ApiToolProvider(
|
||||||
|
|||||||
Reference in New Issue
Block a user