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

Error: PydanticDeprecatedSince20 #649

Open
eliranwong opened this issue Feb 8, 2025 · 1 comment
Open

Error: PydanticDeprecatedSince20 #649

eliranwong opened this issue Feb 8, 2025 · 1 comment

Comments

@eliranwong
Copy link

SDK Version (required)
5.13.12

Describe the bug
/home/eliran/apps/ai/lib/python3.10/site-packages/cohere/core/unchecked_base_model.py:165: PydanticDeprecatedSince20: The __fields__ attribute is deprecated, use model_fields instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.10/migration/
if inner_type.fields[metadata.discriminant].default == objects_discriminant:

@eliranwong
Copy link
Author

any update?

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

1 participant