GitHub issue #15167 in cline/cline, opened 2026-10-18 by swf-cmd, records a report that with the Anthropic provider (direct API key) in Cline 4.1.24 (Next / SDK bundle), also reproduced on main at a42df8c, the request Cline sends to /v1/messages contains exactly one cache breakpoint, on the last text block of the last user-role message; during an agent loop the conversation grows as assistant tool_use to tool tool_result with no new user message added, so the breakpoint stays on the original prompt for the whole loop and every assistant/tool turn after it is billed as uncached input on every request and never written to the cache; the report traces this to the breakpoint search marking only the last role user message while tool results are role tool, and to the request-level automatic-caching option being silently dropped because the snake_case cache_control key is removed by the provider-options schema.
Verbatim Excerpts from Cited Records
“With the **Anthropic** provider (direct API key), the request Cline sends to `/v1/messages` contains exactly **one** cache breakpoint: on the last text block of the last `user`-role message.”
·
cline/cline (issue 15167 opening body, What happened? section)
·
2026-10-18T01:34:46Z
·GitHub Issue ↗
“During an agent loop the conversation grows as `assistant (tool_use)` → `tool (tool_result)` → …, and no new `user` message is added.”
·
cline/cline (issue 15167 opening body, What happened? section)
·
2026-10-18T01:34:46Z
·GitHub Issue ↗
“The breakpoint therefore stays on the original prompt for the whole loop. Every assistant/tool turn after it is billed as uncached input on every request, and it is never written to the cache.”
·
cline/cline (issue 15167 opening body, What happened? section)
·
2026-10-18T01:34:46Z
·GitHub Issue ↗
“This is the same mechanism as the Bedrock report in #13738. #14481 fixes only the Bedrock path; its description notes that the non-Bedrock `anthropic-cache-control` path "is also left as is".”
·
cline/cline (issue 15167 opening body, What happened? section)
·
2026-10-18T01:34:46Z
·GitHub Issue ↗
Counter-record: Issue open as of the fetch; 2 comments were read. linear-code[bot] linked the thread to CLINE-3641. wkia (2026-11-21) independently confirmed the report on 4.1.26 with a real run through a pass-through proxy: cache_control sat on messages[0].content[0] (the task text) in all 14 requests and never moved; totals for the run were 1.12M prompt tokens, 8.8 percent read from cache, 89.8 percent plain input, 1.5 percent written, costing about 2.46 dollars against an estimated 0.83 dollars if the marker moved to the newest message each request. The same commenter tested fix A by hand against the same LiteLLM-in-front-of-Vertex-AI gateway and the gateway accepted the top-level field, with the cache moving across calls (call 1: 3,841 tokens written; call 2: 3,841 read, 1,281 written; call 3 a miss the commenter attributes to the gateway, not the field). No maintainer response or fix appears in the surveyed thread. The claim documents only the original report, not a verified current state.
Falsification probe: If GitHub issue #15167 is deleted without archive, if the author edits the opening body so the quoted sentences no longer match verbatim, or if the author posts a retraction of the report, this claim drops to Withdrawn.
Audit verification: Verified 100% continuous verbatim substring against official GitHub REST API by
scripts/verify_claim_verbatim.py.