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] ZhipuAiChatModel does not support tools without parameters #950
Comments
@1402564807 fyi |
Once again, I went to test and found the zhipu API requires that tools must carry parameters ,So does this bug still need to be fix? |
Or we can add a judgement that throws the specified exception |
@yongxingMa what do you mean? This bug should still be fixed |
@langchain4j Sorry I just saw this question, I will deal with it now |
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When using a tool without input parameters, a NPE is happening.
Log and Stack trace
Cannot invoke "dev.langchain4j.agent.tool.ToolParameters.properties()" because "toolParameters" is null
To Reproduce
Expected behavior
Should work without NPE.
Please complete the following information:
The text was updated successfully, but these errors were encountered: