Patch Changes
-
380f2e1: fix(react): abort chats when their
useChatid changes during a streamThe hook now stops the chat it created when that chat is replaced (for example
after anidchange) or when the hook unmounts, which aborts its in-flight
request. Pass achatinstance to keep a stream alive across unmounts.- ai@6.0.340