-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Anthropic automatic caching support #12712
Copy link
Copy link
Closed
Labels
ai/providerrelated to a provider package. Must be assigned together with at least one `provider/*` labelrelated to a provider package. Must be assigned together with at least one `provider/*` labelfeatureNew feature or requestNew feature or requestprovider/anthropicIssues related to the @ai-sdk/anthropic providerIssues related to the @ai-sdk/anthropic providersupport
Metadata
Metadata
Assignees
Labels
ai/providerrelated to a provider package. Must be assigned together with at least one `provider/*` labelrelated to a provider package. Must be assigned together with at least one `provider/*` labelfeatureNew feature or requestNew feature or requestprovider/anthropicIssues related to the @ai-sdk/anthropic providerIssues related to the @ai-sdk/anthropic providersupport
Type
Fields
Give feedbackNo fields configured for issues without a type.
Description
They now support automatic caching https://platform.claude.com/docs/en/build-with-claude/prompt-caching#automatic-caching
Annoyingly, the types support putting this in the top level provider options already, however it gets stripped before being sent to the provider.
AI SDK Version
No response
Code of Conduct