Commit 31cf0b6
fix(anthropic): pass through top-level cache_control for automatic caching
Anthropic supports automatic prompt caching via a top-level cache_control
field on the request body. This was not being forwarded to the provider.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 351692f commit 31cf0b6
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
469 | 469 | | |
470 | 470 | | |
471 | 471 | | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
472 | 476 | | |
473 | 477 | | |
474 | 478 | | |
| |||
0 commit comments