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] - V0.9.1 - Tools section with empty informations & Tools in workflow issue #8976

Closed
5 tasks done
pierrejo opened this issue Oct 1, 2024 · 3 comments · Fixed by #8999
Closed
5 tasks done

[BUG] - V0.9.1 - Tools section with empty informations & Tools in workflow issue #8976

pierrejo opened this issue Oct 1, 2024 · 3 comments · Fixed by #8999
Labels
🐞 bug Something isn't working

Comments

@pierrejo
Copy link

pierrejo commented Oct 1, 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.9.1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Starting with 0.8.2 (where everything works fine, even the tools), I migrated to 0.9.1. And since then, everything has worked except the tool sections and tools in the workflows:

image

  • In workflow when i try to get "tools"
    image

It's annoying because I can't migrate back to 0.8.2.

NB: I've also tried it locally and I'm having the same problem.

✔️ Expected Behavior

Allow me to have the tools and display them

❌ Actual Behavior

I don't have the possibility to have the tools in the workflow and in the tools section.

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

dosubot bot commented Oct 1, 2024

Hey @pierrejo! 👋 I'm here to help you with any bugs, questions, or contributions you might have for Dify! I'm an expert bot and I'm at your service while you wait for a human maintainer.

I found a similar unsolved discussion that might be related to your issue: tools development problems [1].

Additionally, there was a closed issue where a similar problem was resolved by the user, indicating it was something on their side: When publishing workflow as tool, it does not show up in Tools [2].

For your specific issue, the TypeError related to toLowerCase suggests there might be an undefined value being accessed in the frontend code. You might want to check if all expected data is being correctly loaded and passed to the components. Also, ensure that any configurations or dependencies required for version 0.9.1 are correctly set up.

To continue talking to Dosu, mention @dosu.

@happy-nut
Copy link

I am using the Dify Cloud Pro version and experiencing exactly the same issue in the same version.

image

When Im trying to use tools in chatflow:

TypeError: Cannot read properties of undefined (reading 'toLowerCase')
    at page-5ed9f9d8967ebd7d.js:1:157702
    at Array.some (<anonymous>)
    at page-5ed9f9d8967ebd7d.js:1:157683
    at Array.filter (<anonymous>)
    at page-5ed9f9d8967ebd7d.js:1:157665
    at Object.useMemo (fd9d1056-7863749520a823c0.js:1:50165)
    at t.useMemo (7023-22d2def46e6e81aa.js:2:31804)
    at sG (page-5ed9f9d8967ebd7d.js:1:157546)
    at rE (fd9d1056-7863749520a823c0.js:1:40344)
    at iZ (fd9d1056-7863749520a823c0.js:1:117029)
    at ia (fd9d1056-7863749520a823c0.js:1:95165)
    at fd9d1056-7863749520a823c0.js:1:94987
    at il (fd9d1056-7863749520a823c0.js:1:94994)
    at oJ (fd9d1056-7863749520a823c0.js:1:92350)
    at nb (fd9d1056-7863749520a823c0.js:1:26836)
    at nw (fd9d1056-7863749520a823c0.js:1:27574)
    at fd9d1056-7863749520a823c0.js:1:28608

@crazywoola
Copy link
Member

@happy-nut It seems to be a language issue.

@crazywoola crazywoola added 🐞 bug Something isn't working and removed 🐞 bug Something isn't working labels Oct 3, 2024
@crazywoola crazywoola linked a pull request Oct 3, 2024 that will close this issue
12 tasks
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

Successfully merging a pull request may close this issue.

3 participants