`PydanticDeprecatedSince20: The `dict` method is deprecated; use `model_dump` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.12/migration/`

Saw this message in my console after upgrading the dependencies. What’s the source of the message and how to fix it?

~/rag-agent/.venv/lib/python3.13/site-packages/langsmith/_internal/_serde.py:103: PydanticDeprecatedSince20: The `dict` method is deprecated; use `model_dump` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.12/migration/
  response = method(**kwargs)