We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for setting cache_control on CoreMessage to support new Anthropic feature https://www.anthropic.com/news/prompt-caching
cache_control
CoreMessage
Cost savings when reusing prompt context
No response
The text was updated successfully, but these errors were encountered:
Cache control needs to be on message parts. Prototype is available here but requires large changes: #2678
Sorry, something went wrong.
#2697
landed in main
Successfully merging a pull request may close this issue.
Feature Description
Add support for setting
cache_control
onCoreMessage
to support new Anthropic feature https://www.anthropic.com/news/prompt-cachingUse Case
Cost savings when reusing prompt context
Additional context
No response
The text was updated successfully, but these errors were encountered: