chromadb uses older pydantic version. Try downgrading the version
pip uninstall pydantic-settings
pip install "pydantic<2" --force-reinstall.
I had to downgrade my chromadb version as well because of ConfigError: unable to infer type for attribute "clickhouse_host"
uv pip install "chromadb==0.3.21"