- 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> |
||
|---|---|---|
| .. | ||
| main | ||
| renderer | ||