This fix bumps the version of pydantic used by wechat-gptbot
bumps the version of litellm used, litellm now requires a pydantic version of 2.1.1
I'm working on making litellm have less dependencies - it should only try installing anthropic if a user is using it (this would prevent errors seen in the above issue)
⚠️ Notice: Apply a label to this pull request in one the following three labels: 👉
bug
: Fix something isn't workingenhancement
: Enhance existing featuresfeature
: Add brand new featuresAddressing https://github.com/iuiaoin/wechat-gptbot/issues/79#issuecomment-1668855769
Looks like it was caused because anthropic uses pydantic ModelField https://github.com/pydantic/pydantic/blob/5e7d43e0269c6118f63a02bad04328b61e8bfe69/pydantic/v1/fields.py#L365