mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-10-14 12:02:27 +08:00
Anthropic processes cache breakpoints in tools, system, messages order and rejects a ttl=1h breakpoint after a 5m one. The OAuth mimic path adds 5m breakpoints to the injected system block and the last tool, so a third-party client that marks a single message block with ttl=1h received a 400. After the block limit, raise ephemeral breakpoints that precede the last 1h breakpoint to 1h. Valid requests are unchanged.