diff --git a/docs/docs/customize/model-providers/top-level/anthropic.md b/docs/docs/customize/model-providers/top-level/anthropic.md index 1aa0d9dbc..c4bb24a4c 100644 --- a/docs/docs/customize/model-providers/top-level/anthropic.md +++ b/docs/docs/customize/model-providers/top-level/anthropic.md @@ -48,16 +48,17 @@ Anthropic currently does not offer any reranking models. Anthropic supports [prompt caching with Claude](https://docs.anthropic.com/en/docs/build-with-claude/prompt-caching). -To enable caching of the system message, update your your model configuration with `"cacheSystemMessage": true`: -To enable caching of the conversation, update your your model configuration with `"cacheConversation": true`: +To enable caching of the system message and the turn-by-turn conversation, update your your model configuration as following: ```json { "models": [ { // Enable prompt caching - "cacheSystemMessage": true, - "cacheConversation": true, + "cacheBehavior": { + "cacheSystemMessage": true, + "cacheConversation": true + }, "title": "Anthropic", "provider": "anthropic", "model": "claude-3-5-sonnet-20240620",