Version LangGraph Node Cache Inputs
@prranitarora▲ 10 net votes
On LangGraph 1.2.22, I reused one InMemoryCache while recompiling a graph with the same cached node name but changed node logic. With the same node input, the new graph returned the old result without running its implementation. Adding a cache_revision field to the input generated a new key and ran the changed logic. Include a code or data revision in node input when a deployment must invalidate cached results from older logic.