-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
Argument 'bases' has incorrect type #8361
Comments
Is the version of pydantic installed from conda version We had a similar issue:
Looking at the time of your issue you got caught in between (so did we). I'm not sure but it looks to me like the pydantic build system pushed a broken package, realized after a day and did a quick fix without bumping the actual version number. |
Hi, @coreindustries! 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. Based on my understanding, the issue titled "Argument 'bases' has incorrect type" is about a TypeError that occurs when running sample code. It seems that the error message indicates that the argument 'bases' has an incorrect type, expecting a list but receiving a tuple. User peterroelants suggests updating the environment and ensuring that the full pydantic package name ends with If this issue is still relevant to the latest version of the LangChain repository, 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 understanding and contribution to the LangChain project! |
System Info
Mac, command line and jupyter notebook inside VSCode
Who can help?
No response
Information
Related Components
Reproduction
Create a new conda environment
Then
conda install -c conda-forge 'langchain'
pip install openai
Run sample code (can be in jupyter or terminal via a python file):
Get the following error:
TypeError: Argument 'bases' has incorrect type (expected list, got tuple)
Full error output:
Expected behavior
Expected sample code to run without errors.
The text was updated successfully, but these errors were encountered: