[PR #5985] fix(langgraph): filter output fields from cache key computation #4770

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

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

State: closed
Merged: No


Description: fix #5980.
InMemoryCache was not working with InMemorySaver because cache keys included accumulated state from previous executions.
Add _filter_cache_input function to exclude likely output fields from cache key generation.

Issue: #5980

Dependencies:

Twitter handle:

**Original Pull Request:** https://github.com/langchain-ai/langgraph/pull/5985 **State:** closed **Merged:** No --- **Description**: fix #5980. InMemoryCache was not working with InMemorySaver because cache keys included accumulated state from previous executions. Add _filter_cache_input function to exclude likely output fields from cache key generation. **Issue**: #5980 **Dependencies**: **Twitter handle**:
yindo added the pull-request label 2026-02-20 17:50:43 -05:00
yindo closed this issue 2026-02-20 17:50:43 -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#4770