DocsGPT
DocsGPT copied to clipboard
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:
📜 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?
- [X] I checked and didn't find similar issue
🔗 Are you willing to submit PR?
None
🧑⚖️ Code of Conduct
- [X] I agree to follow this project's Code of Conduct
What option did you choose in the ./setup.sh?
@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