A user turn whose final message carries the moving cache_control breakpoint.
(prefix: Array<{ role: string; content: string }>, tail: string)
| 40 | |
| 41 | /** A user turn whose final message carries the moving cache_control breakpoint. */ |
| 42 | function turn(prefix: Array<{ role: string; content: string }>, tail: string) { |
| 43 | return req([...prefix.map((m) => ({ ...m })), { role: "user", content: tail, bp: true }]); |
| 44 | } |
| 45 | |
| 46 | describe("cache-bust oracle", () => { |
| 47 | describe("#given a stable growing conversation", () => { |
no test coverage detected