Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG when importing DSL project file with TOOLs [CHATFLOW] #10911

Open
5 tasks done
viduedo opened this issue Nov 20, 2024 · 3 comments
Open
5 tasks done

BUG when importing DSL project file with TOOLs [CHATFLOW] #10911

viduedo opened this issue Nov 20, 2024 · 3 comments
Labels
🐞 bug Something isn't working

Comments

@viduedo
Copy link

viduedo commented Nov 20, 2024

Self Checks

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

Dify version

0.11.1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

When i import custom tools from another dify system, and after it, import the DSL project too, it doesnt recognize the tools that is inside the project. THEN i need to delete the nodes from the chatflow that is the tool and re-integrate in the project to work.

It doesn't recognizes the tools even if i publish into a new dify system with the same tool calling name for exemple.

bug_example1
bug_example2

✔️ Expected Behavior

Dify auto-recognizes the custom tools that i'm using in the project after the import of DSL file.

bug_example3

❌ Actual Behavior

Dify doesn't auto-recognizes the custom tools that i'm using in the project after the import of DSL file.

bug_example1

@dosubot dosubot bot added the 🐞 bug Something isn't working label Nov 20, 2024
Copy link

dosubot bot commented Nov 20, 2024

Hey @viduedo! I'm here to help you with bug fixes, answer your questions, and guide you on how to contribute. Let's get this issue sorted out together!

It seems like you're experiencing an issue where Dify is not automatically recognizing custom tools within a DSL project after importing them. Unfortunately, there isn't specific documentation or known issues related to this problem in the available resources. However, here are a few general troubleshooting steps you might consider:

  1. Order of Import: Ensure that the custom tools are fully imported and recognized in the system before importing the DSL project. This might help in establishing the necessary links between the tools and the project.

  2. Tool Naming Consistency: Double-check that the tool names and configurations in the DSL file match exactly with those in the Dify system. Any discrepancies might cause recognition issues.

  3. Reintegration: As a temporary workaround, you might need to manually reintegrate the tools into the project, as you've already been doing.

  4. Logs and Debugging: Check the system logs for any errors or warnings during the import process that might give more insight into what's going wrong.

If these steps don't resolve the issue, it might be worth reporting this as a bug to the Dify maintainers if you haven't already, providing them with as much detail as possible to help diagnose the problem.

To continue talking to Dosu, mention @dosu.

@viduedo
Copy link
Author

viduedo commented Nov 20, 2024

Maybe a feature is to automatically export the tools with the DSL project to avoid this problem.

When importing the DSL project to another DIFY it could automatically import the tools. I think that this could solve the problem to a lot of people.

@ImlittleA
Copy link

yeah.I have the same problem with you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants