Unverified Commit 1a677da7 authored by takatost's avatar takatost Committed by GitHub

fix: custom tool max tool (#2641)

parent b6d61a81
......@@ -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(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment