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
Fixed Pydantic v1/v2 compatibility issues in CompiledStateGraph, with better support for different BaseModel implementations #1147
Improved type-hinting logic in state key extraction to be more robust #1147
Detailed Changes
langgraph.graph.state.CompiledStateGraph
Enhanced get_input_schema and get_output_schema methods to recognize Pydantic models from both v1 and v2 imports, ensuring compatibility across Pydantic versions #1147
Fixed type hint checking in _get_state_key helper function to properly handle cases where type annotations are present #1147