github vercel/ai @ai-sdk/react@3.0.343

latest releases: @ai-sdk/vue@2.0.295, @ai-sdk/svelte@3.0.295, @ai-sdk/rsc@1.0.297...
2 hours ago

Patch Changes

  • 380f2e1: fix(react): abort chats when their useChat id changes during a stream

    The hook now stops the chat it created when that chat is replaced (for example
    after an id change) or when the hook unmounts, which aborts its in-flight
    request. Pass a chat instance to keep a stream alive across unmounts.

    • ai@6.0.340

Don't miss a new ai release

NewReleases is sending notifications on new releases.