[PR #3920] fix(docs): Update deprecated methods and add validator #3539

Closed
opened 2026-02-20 17:48:46 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langchain-ai/langgraph/pull/3920

State: closed
Merged: Yes


  • Added a validator to sanitize 'name' fields and prevent string_pattern_mismatch errors.
  • Replaced deprecated dict method with model_dump in line with Pydantic v2.0 migration guidelines.
  • Updated gen_perspectives_chain and gen_queries_chain to ensure compatibility with structured output and include raw data where needed. This allows use of fast_llm across the notebook.
**Original Pull Request:** https://github.com/langchain-ai/langgraph/pull/3920 **State:** closed **Merged:** Yes --- - Added a validator to sanitize 'name' fields and prevent string_pattern_mismatch errors. - Replaced deprecated `dict` method with `model_dump` in line with Pydantic v2.0 migration guidelines. - Updated gen_perspectives_chain and gen_queries_chain to ensure compatibility with structured output and include raw data where needed. This allows use of fast_llm across the notebook.
yindo added the pull-request label 2026-02-20 17:48:46 -05:00
yindo closed this issue 2026-02-20 17:48:46 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraph#3539