(call: CapturedFetchCall)
| 1578 | } |
| 1579 | |
| 1580 | function parseSentBody(call: CapturedFetchCall): Record<string, unknown> { |
| 1581 | return JSON.parse(call.init.body as string) as Record<string, unknown>; |
| 1582 | } |
| 1583 | |
| 1584 | describe("wrapFetchWithAnthropicCacheControl — Opus 4.7+ / Sonnet 5+ wire transforms", () => { |
| 1585 | for (const model of ["claude-opus-4-7", "claude-opus-4-8", "claude-sonnet-5"] as const) { |
no test coverage detected