AI SDK 7.0.143

7.0.143
Added 2
  • Add `experimental_lowMemory: true` option to `streamText` for single-consumer streaming without a replay buffer or retained final-content results, reducing memory retention.
  • Add `box` decision question type with image bounds for TypeSafe AI.
Changed 1
  • Generate default chat IDs on first access so `useChat()` can prerender without reading a random value when the ID is not used during rendering.

From AI SDK

Patch Changes
  • 8a5233b: Generate default chat IDs on first access so useChat() can prerender without reading a random value when the ID is not used during rendering.
  • 894e130: fix(ai): add experimental_lowMemory: true to streamText for single-consumer streaming without a replay buffer or retained final-content results, reducing memory retention.
  • 0957554: Add box decision question type with image bounds for TypeSafe AI.
  • Updated dependencies [0957554]
    • @ai-sdk/provider@4.0.29
    • @ai-sdk/provider-utils@5.0.62
    • @ai-sdk/gateway@4.0.116
View original

Upgraded? How did it go?

Discussion