-
Notifications
You must be signed in to change notification settings - Fork 16.4k
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
"Minimax" object has no field "_client" #10917
Comments
🤖 Hello, Thank you for bringing this to our attention. It seems like you've encountered an issue with the This could be due to a change in the structure of the However, I noticed that you mentioned that after replacing The latest version of LangChain is pip install --upgrade langchain If the issue still persists after updating, please let us know. We appreciate your patience and cooperation in this matter. Best regards, SourcesThis response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot. |
In v0.0.299, This problem still exists |
In v0.0.312, This problem still exists |
this should be an issue of pydantic v1, looks like pydantic v2 fix it. so the better way to resolve this problem is: DON'T use function name start with underscore in python model class. |
e #11648 Minimax llm failed to initialize The idea of this fix is #10917 (comment) do not use underscore in python model class --------- Co-authored-by: [email protected] <[email protected]> Co-authored-by: Bagatur <[email protected]>
…i#12554) e langchain-ai#11648 Minimax llm failed to initialize The idea of this fix is langchain-ai#10917 (comment) do not use underscore in python model class --------- Co-authored-by: [email protected] <[email protected]> Co-authored-by: Bagatur <[email protected]>
Has this problem been resolved? |
…i#12554) e langchain-ai#11648 Minimax llm failed to initialize The idea of this fix is langchain-ai#10917 (comment) do not use underscore in python model class --------- Co-authored-by: [email protected] <[email protected]> Co-authored-by: Bagatur <[email protected]>
这个问题还没有解决吗?我在0.2.15上依然遇到了此问题 |
System Info
when I run this command
python3 ./libs/langchain/tests/integration_tests/llms/test_minimax.py
It always reports this error
ValueError: "Minimax" object has no field "_client"
After I replaced "_client" with "client", it works.
version is
langchain==0.0.297
Who can help?
No response
Information
Related Components
Reproduction
python3 ./libs/langchain/tests/integration_tests/llms/test_minimax.py
Expected behavior
Don't throw erros
The text was updated successfully, but these errors were encountered: