You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You observe the following error with guardrails package and latest Pydantic version.
"importerror: cannot import name 'modelfield' from 'pydantic.fields'
Is this still active? I am currently working with gradio and the latest versions need Pydantic 2. It would be need if you can implement it! Thanks in advance.
Describe the bug
Pydantic 2.x.x is the default-installed version of pydantic.
To Reproduce
Steps to reproduce the behavior:
guard(...)
) - N/AExpected behavior
Guardrails should not throw errors when using the default and newest version of pydantic.
Library version:
Pydantic version 2.0.3
The text was updated successfully, but these errors were encountered: