[GH-ISSUE #550] Enable prompt caching in create_react_agent #92

Closed
opened 2026-02-17 17:19:09 -05:00 by yindo · 1 comment
Owner

Originally created by @eyurtsev on GitHub (Sep 15, 2025).
Original GitHub issue: https://github.com/langchain-ai/docs/issues/550

Discussed in https://github.com/langchain-ai/langgraph/discussions/2900

Originally posted by chnsh December 30, 2024
Could we please enable prompt caching in create_react_agent in the messages that go through the agent node?
I implemented this at the input to the agent but internally, we don't have the same control
https://github.com/langchain-ai/langchain/discussions/25610#discussioncomment-10405165

Originally created by @eyurtsev on GitHub (Sep 15, 2025). Original GitHub issue: https://github.com/langchain-ai/docs/issues/550 ### Discussed in https://github.com/langchain-ai/langgraph/discussions/2900 <div type='discussions-op-text'> <sup>Originally posted by **chnsh** December 30, 2024</sup> Could we please enable prompt caching in `create_react_agent` in the messages that go through the agent node? I implemented this at the input to the agent but internally, we don't have the same control https://github.com/langchain-ai/langchain/discussions/25610#discussioncomment-10405165</div>
yindo closed this issue 2026-02-17 17:19:09 -05:00
Author
Owner

@sydney-runkle commented on GitHub (Sep 16, 2025):

Done via https://docs.langchain.com/oss/python/langchain/middleware#anthropic-prompt-caching

@sydney-runkle commented on GitHub (Sep 16, 2025): Done via https://docs.langchain.com/oss/python/langchain/middleware#anthropic-prompt-caching
yindo changed title from Enable prompt caching in `create_react_agent` to [GH-ISSUE #550] Enable prompt caching in `create_react_agent` 2026-06-05 17:25:01 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#92