iuiaoin / wechat-gptbot

A wechat robot based on ChatGPT with no risk, very stable! 🚀
MIT License
579 stars 113 forks source link

fix pydantic version error #80

Closed ishaan-jaff closed 1 year ago

ishaan-jaff commented 1 year ago

⚠️ Notice: Apply a label to this pull request in one the following three labels: 👉

Addressing 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

ishaan-jaff commented 1 year ago

latest version here: https://pypi.org/project/litellm/