SIGN IN SIGN UP

fix(sdk): clear messages on hydrate(null) with a pending interrupt (#2691)

## Summary

Teardown awaited the paused root pump, so threadId went null while the
old conversation stayed on screen. Reset the snapshot first.

- Starting a new chat (`threadId` → undefined) on a reused `useStream`
left the previous thread's messages on screen when that thread was
sitting on a pending interrupt. The snapshot now clears before teardown
finishes waiting on the paused pump.
C
Christian Bromann committed
3ce9f8d11dd64b1d091a25162603c49e6f4a426f
Parent: 51b4202
Committed by GitHub <noreply@github.com> on 8/19/2026, 4:27:17 AM