Commit Graph
2 Commits
Author SHA1 Message Date
lukaszraczylo 86870668ea fix(anthropic): keep system a string when marked parts are empty 2026-11-26 01:53:51 +00:00
lukaszraczylo bc77e16e45 fix(anthropic): keep client cache_control on translated system messages
The translator joined system and developer messages into one string.
This dropped any cache_control marker that the client set on a part.
Now, when a marker exists, system becomes a list of text blocks that
keep the marker. Without markers, the joined string is unchanged.
2026-11-26 01:22:08 +00:00