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

Compatibility Issue with Pydantic V2 #55

Open
AnasLahmar opened this issue Feb 15, 2025 · 1 comment
Open

Compatibility Issue with Pydantic V2 #55

AnasLahmar opened this issue Feb 15, 2025 · 1 comment

Comments

@AnasLahmar
Copy link

I am encountering a compatibility issue between langchain-redis and Pydantic V2. When using langchain-redis with Pydantic V2, I receive the following warning:

UserWarning: Mixing V1 models and V2 models (or constructs, like TypeAdapter) is not supported. Please upgrade IndexSchema to V2.

This suggests that langchain-redis is still using Pydantic V1 models internally, even though it depends on Pydantic V2.

@tylerhutcherson
Copy link
Collaborator

tylerhutcherson commented Feb 21, 2025

@AnasLahmar We are doing a release soon to address some of this!

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