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
Copy file name to clipboardExpand all lines: docs/_core_features/chat.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -505,21 +505,21 @@ Refer to the [Working with Models Guide]({% link _advanced/models.md %}) for det
505
505
### Enabling
506
506
For Anthropic models, you can opt-in to prompt caching which is documented more fully in the [Anthropic API docs](https://docs.anthropic.com/en/docs/build-with-claude/prompt-caching).
507
507
508
-
Enable prompt caching using the `cache_prompts` method on your chat instance:
508
+
Enable prompt caching using the `with_provider_options` method on your chat instance:
0 commit comments