You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(sdk): preserve compaction and avoid double-persist on the error path
When committing the errored turn's state to the accumulator, append only the
new tail's model messages (errored user message and/or recovered partial)
instead of reconverting the whole UI history, so a prior turn's model-only
compaction survives an errored turn. Skip re-adding the partial once the
response was already committed (a later compaction may have folded it into a
summary), and roll the event/snapshot views back if the model conversion
fails so they never advertise a partial the accumulator didn't take.
0 commit comments