You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The AI SDK currently supports Anthropic's prompt caching for system messages and messages (including tool calls and tool results), but not tool definitions: #3062 (reply in thread)
Feature Description
The AI SDK currently supports Anthropic's prompt caching for system messages and messages (including tool calls and tool results), but not tool definitions: #3062 (reply in thread)
Anthropic docs: https://docs.anthropic.com/en/docs/build-with-claude/prompt-caching#what-can-be-cached
AI SDK docs: https://sdk.vercel.ai/providers/ai-sdk-providers/anthropic#cache-control
I'd like to be able to implement prompt caching on the tool definitions using the AI SDK. Thank you!
The text was updated successfully, but these errors were encountered: