-
Notifications
You must be signed in to change notification settings - Fork 702
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] IllegalException"text cannot be null" when using Qianfan Model #1110
Comments
Hey there, @yao-wenbin! 🎉 I'm Dosu, a bot here to help you solve bugs, answer questions, and even guide you on becoming a contributor. While we're waiting for a human maintainer to chime in, I'm here to assist you. Just wanted to let you know that I'm taking a look at your issue with the Qianfan Model and will provide you with a full answer shortly. Stay tuned! |
@langchain4j hi, could you assign me to this issue? I'll work on it today |
@langchain4j hello, I already create a pr for this issue, It my first time to contribute code to this repository. |
Describe the bug
when I using qianfan model, If api reach the limited, Model's generate() method will throw Illegal Exception instead of clear err response.
Log and Stack trace
To Reproduce
Using qianfan model and provide a reached limit api key and then call model's generate().
Expected behavior
If API reached limit, generate() method should throw a more clear exception instead of IllegalException: text cannot be null.
Please complete the following information:
Additional context
The text was updated successfully, but these errors were encountered: