Skip to content

pydantic_v1

langroid/pydantic_v1/init.py

If we're on Pydantic v2, use the v1 namespace, else just use the main namespace.

This allows compatibility with both Pydantic v1 and v2