cohere-python
cohere-python copied to clipboard
cohere, Pydantic v1 3.14 error
SDK Version (required) 5.20.0
Describe the bug When running cohere, we receive this warning:
.venv/lib/python3.14/site-packages/cohere/core/pydantic_utilities.py:13: UserWarning: Core Pydantic V1 functionality isn't compatible with Python 3.14 or greater.
from pydantic.v1.datetime_parse import parse_date as parse_date
Screenshots Apparently no need for parse_date anymore with Pydantic v2.
The culprit comes from this code: https://github.com/cohere-ai/cohere-python/blob/main/src/cohere/core/pydantic_utilities.py#L12-L20