Skip to content

Uses anthropic built in caching#19

Merged
jtoman merged 3 commits into
masterfrom
jtoman/removed-cached
May 26, 2026
Merged

Uses anthropic built in caching#19
jtoman merged 3 commits into
masterfrom
jtoman/removed-cached

Conversation

@jtoman

@jtoman jtoman commented May 22, 2026

Copy link
Copy Markdown
Contributor

Unlike when caching was initially introduced, anthropic now (like openai) helpfully treats your conversations as having a "cache control" directive at the very end. This moots our manual addition of this cache control directive, and thus moots the *cached_invoke variants. NB that this change requires adding cache_control directives to the langgraph client; that occurs in upstream repos.

@jtoman jtoman requested a review from certo-gco May 22, 2026 19:13
@jtoman jtoman merged commit 5947dba into master May 26, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants