Ver código fonte

fix: custom tool max tool (#2641)

tags/0.5.8
takatost 1 ano atrás
pai
commit
1a677da792
Nenhuma conta vinculada ao e-mail do autor do commit
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2
    2
      api/services/tools_manage_service.py

+ 2
- 2
api/services/tools_manage_service.py Ver arquivo

@@ -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(

Carregando…
Cancelar
Salvar