b132efe6a0
Aborting the fetch on component unmount sent a disconnect to the server, which cancelled the in-flight generation. Now the stream runs to completion in the background (isMountedRef guards prevent stale state updates), the response is persisted, and it's there when the user returns to the conversation. stopGeneration() still aborts immediately on explicit user cancel. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Rsbuild project
Setup
Install the dependencies:
pnpm install
Get started
Start the dev server, and the app will be available at http://localhost:3000.
pnpm dev
Build the app for production:
pnpm build
Preview the production build locally:
pnpm preview
Learn more
To learn more about Rsbuild, check out the following resources:
- Rsbuild documentation - explore Rsbuild features and APIs.
- Rsbuild GitHub repository - your feedback and contributions are welcome!