Skip to content

pydantic_v1

langroid/pydantic_v1/init.py

Compatibility layer for Langroid's Pydantic migration.

IMPORTANT: You are importing from langroid.pydantic_v1 but getting Pydantic v2 classes! Langroid has fully migrated to Pydantic v2, and this compatibility layer is deprecated.