Open yuanjie-ai opened 7 months ago
Also i have the same problem
i assume that you are already using pydantic v2
it was tricky to make it compatible with both versions so simple solution is just to do
from pydantic.v1 import BaseModel, Field
but that is not necessarily good solution for everyone