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
{{ message }}
Repository navigation
v0.6.1 — Compact no longer panics on a shrinking history
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed
Compact no longer panics on a history that shrank mid-request.
Dropping the evicted turns sliced history[len(evicted):], which panicked
with slice bounds out of range when the live history had become shorter
than the evicted slice while the compact request was in flight (seen with
concurrent Append on one *Conversation). Both the client-side and the
server-side compaction now clamp the slice to the live history.