Skip to content
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

BaseSettings has been moved to the pydantic-settings` package. See https://docs.pydantic.dev/2.4/migration/#basesettings-has-moved-to-pydantic-settings for more details.🐛 Bug Report: #770

Open
2 tasks done
moda20 opened this issue Nov 8, 2023 · 2 comments

Comments

@moda20
Copy link

moda20 commented Nov 8, 2023

📜 Description

when running ./setup.sh when running the python bits, i get this error :

BaseSettings` has been moved to the `pydantic-settings` package. See https://docs.pydantic.dev/2.4/migration/#basesettings-has-moved-to-pydantic-settings for more details.

👟 Reproduction steps

git clone
./setup.sh

👍 Expected behavior

not the error

👎 Actual Behavior with Screenshots

error : BaseSettingshas been moved to thepydantic-settings` package. See https://docs.pydantic.dev/2.4/migration/#basesettings-has-moved-to-pydantic-settings for more details.

💻 Operating system

MacOS

What browsers are you seeing the problem on?

Something else

🤖 What development environment are you experiencing this bug on?

Docker

🔒 Did you set the correct environment variables in the right path? List the environment variable names (not values please!)

No response

📃 Provide any additional context for the Bug.

No response

📖 Relevant log output

No response

👀 Have you spent some time to check if this bug has been raised before?

  • I checked and didn't find similar issue

🔗 Are you willing to submit PR?

None

🧑‍⚖️ Code of Conduct

  • I agree to follow this project's Code of Conduct
@dartpain
Copy link
Contributor

What option did you choose in the ./setup.sh?

@moda20
Copy link
Author

moda20 commented Nov 13, 2023

@dartpain I chose the download the LLM model options. The issue was with the pydantic package used by this repo. it needs to be the version 1.x but not explicitly specified. i installed the desired version and the issue was lifted. but i think we need to update the code or the dependency that causes this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants