Replies: 4 comments
-
some progress |
Beta Was this translation helpful? Give feedback.
-
looking for it |
Beta Was this translation helpful? Give feedback.
-
This is a must have feature for any serious agent development effort. |
Beta Was this translation helpful? Give feedback.
-
Apologies, we'll add this to the documentation. This has been possible with create react agent for a while as you can define a custom prompt (i.e., all the messages into the model). You'll need to look up the format of the cache control for the specific model you're using (e.g., anthropic and openai use slightly different syntax). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
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
langchain-ai/langchain#25610 (comment)
Beta Was this translation helpful? Give feedback.
All reactions