pydantic.errors.PydanticUserError: If you use `@root_validator` with pre=False (the default) you MUST specify `skip_on_failure=True`. Note that `@root_validator` is deprecated and should be replaced with `@model_validator`.
But I solved it by replacing @root_validator with @root_validator(pre=True) in src/contrastors/config.py
I got an error:
But I solved it by replacing
@root_validator
with@root_validator(pre=True)
insrc/contrastors/config.py