KamoCRM

Anthropic dropped every system message but the last

FixAIService
Shipped
19 ஜூலை, 2026 அன்று 1:45 AM UTC
Author
Kamo
Commit
93bab45

buildRequestBody assigned rather than accumulated the system field, so with more than one system message only the final one reached the model. In practice that meant: as soon as retrieval injected a knowledge block, the agent's OWN instructions were the part silently thrown away - including its compliance limits. Context-window truncation notices had the same effect. Latent before, because a single system message is the common case. This release makes it far more likely to bite: the compiler emits a larger structured prompt and the new system-partition cap can add its own notice, so multi-block system content becomes normal rather than exceptional. System messages are now concatenated in order with a blank line between them. buildRequestBody is package-private so the request shaping can be asserted without standing up a WebClient.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing