[PR #3255] Guard and cache calls to find_subgraph_pregel #3188

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

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

State: closed
Merged: Yes


  • The result of these doesnt change once a node is created, and it's fairly expensive to run, so great thing to cache
  • There's a variety of errors that can come from inspecting the source code of a function (part of what this does) so adding a catch-all try-except block as this should be best-effort, not crash your graph
**Original Pull Request:** https://github.com/langchain-ai/langgraph/pull/3255 **State:** closed **Merged:** Yes --- - The result of these doesnt change once a node is created, and it's fairly expensive to run, so great thing to cache - There's a variety of errors that can come from inspecting the source code of a function (part of what this does) so adding a catch-all try-except block as this should be best-effort, not crash your graph
yindo added the pull-request label 2026-02-20 17:48:13 -05:00
yindo closed this issue 2026-02-20 17:48:13 -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#3188