dify icon indicating copy to clipboard operation
dify copied to clipboard

Import the API warns `the number of apis should be less than 100` in the custom tool

Open 3210448723 opened this issue 9 months ago • 2 comments

Self Checks

  • [x] I have searched for existing issues search for existing issues, including closed ones.
  • [x] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • [x] Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

When creating the custom tool, I chose to import the previously deployed ruoyi-based web application from the URL, but the import displayed the number of apis should be less than 100'. Is there a way to un-limit the number of Apis?

2. Additional context or comments

Image

3. Can you help us with this feature?

  • [x] I am interested in contributing to this feature.

3210448723 avatar Apr 01 '25 07:04 3210448723

The number 100 is a fixed one.

https://github.com/langgenius/dify/blob/403e2d58b96794727789609e41505c33374f9079/api/services/tools/api_tools_manage_service.py#L137-L138

I would like to know the story behind the feature request, why do you want to have such a big api list.

crazywoola avatar Apr 01 '25 07:04 crazywoola

I want to use dify as an agent to control a web application.

3210448723 avatar Apr 01 '25 08:04 3210448723

Hi, @3210448723. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale.

Issue Summary:

  • You encountered a limitation when importing a ruoyi-based web application, receiving a warning about exceeding 100 APIs.
  • You expressed interest in contributing to a solution to remove this limit.
  • Crazywoola noted that the limit is hardcoded and requested more context on your need for a larger API list.
  • You clarified your intention to use Dify as an agent to control a web application.

Next Steps:

  • Please let me know if this issue is still relevant to the latest version of the Dify repository by commenting here to keep the discussion open.
  • If no further updates are provided, this issue will be automatically closed in 15 days.

Thank you for your understanding and contribution!

dosubot[bot] avatar May 02 '25 16:05 dosubot[bot]