Files
Folo/apps/desktop/layer/renderer/src
Innei b927383e93 fix(ai): should stop when switch session
- Changed the `destroy` method in `ZustandChat` to be asynchronous, ensuring proper cleanup with `await`.
- Updated `newChat` and `switchToChat` actions to await the destruction of the old chat instance before creating a new one.
- Initialized `#eventEmitter`, `#status`, and `#error` in `ZustandChatState` constructor for better state management.

Signed-off-by: Innei <tukon479@gmail.com>
2025-11-08 16:25:38 +08:00
..
2025-11-08 15:07:28 +08:00
2025-11-08 15:07:28 +08:00
2025-04-28 21:42:23 +08:00
2025-11-08 15:07:28 +08:00
2025-11-04 22:55:49 +08:00
2025-04-28 21:42:23 +08:00
2025-09-25 21:35:46 +08:00
2025-10-15 21:51:40 +08:00
2025-11-04 22:55:49 +08:00
2025-07-03 13:13:42 +08:00
2025-04-28 21:42:23 +08:00
2025-09-29 20:24:50 +08:00
2025-04-28 21:42:23 +08:00