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
Error running GPT4ALL model: TypeError: Model.generate() got an unexpected keyword argument 'new_text_callback' #4126
Comments
I was able to fix it, PR here. #4136 |
Is not working yet. Some suggestion maybe using previous releases? |
Temporary workaround is to downgrade pygpt4all |
…#4131) Fix for these issues: #4126 #3839 (comment) --------- Co-authored-by: Pawel Faron <ext-pawel.faron@vaisala.com>
That works! |
Hi, @ooo27! I'm Dosu, and I'm helping the LangChain team manage their backlog. I wanted to let you know that we are marking this issue as stale. From what I understand, you encountered a TypeError during the initialization of the GPT4ALL model, specifically "Model.generate() got an unexpected keyword argument 'new_text_callback'". You were able to fix the issue and submitted a pull request. TatanParker suggested using previous releases as a temporary solution, while rafaeldelrey recommended downgrading pygpt4all to version 1.0.1. Another user, jackxwu, also opened a new issue with the same error. Before we close this issue, we wanted to check if it is still relevant to the latest version of the LangChain repository. If it is, please let us know by commenting on the issue. Otherwise, feel free to close the issue yourself, or it will be automatically closed in 7 days. Thank you for your contribution and for bringing this issue to our attention. Let us know if there's anything else we can assist you with! |
Sample code:
Error during initialization:
The text was updated successfully, but these errors were encountered: