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

Invalid text content type: <class 'NoneType'>. Expected str. #10724

Open
5 tasks done
whpengdd opened this issue Nov 15, 2024 · 1 comment
Open
5 tasks done

Invalid text content type: <class 'NoneType'>. Expected str. #10724

whpengdd opened this issue Nov 15, 2024 · 1 comment
Assignees
Labels
🐞 bug Something isn't working

Comments

@whpengdd
Copy link

whpengdd commented Nov 15, 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

image
image

The parameter extractor prompts error, when I use function calling

✔️ Expected Behavior

Success

❌ Actual Behavior

parameter can't work by function calling.

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

dosubot bot commented Nov 15, 2024

Hello @whpengdd! I'm here to assist you with any bugs, questions, or contributions you have for the project. Let me know how I can help you with the issue you've encountered.

I found some similar discussions and issues related to NoneType errors in Dify:

  1. Error in item: Invalid variable. - This discussion is unsolved and was last updated on September 23, 2024.
  2. Help: Failed to invoke tool: int() argument must be a string, a bytes-like object or a real number, not 'NoneType' - This discussion is unsolved and was last updated on September 6, 2024.
  3. ‘>’ not supported between instances of ‘NoneType’ and ‘int’ - This discussion is unsolved and was last updated on June 23, 2024.

Additionally, there is a closed issue that might be related:

These discussions and issues might provide some insights or potential solutions to the problem you're encountering with the NoneType error in the parameter extractor.

To continue talking to Dosu, mention @dosu.

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