jan
jan copied to clipboard
bug: app does not sync state with nitro process
Describe the bug Somehow Nitro could be crashed or stopped working, app does not handle the process status properly, there should be an event from extension to app so the next message send will trigger model load
To Reproduce Steps to reproduce the behavior:
- Start a thread
- Send message
- Kill nitro from terminal
- App failed to send message instead of loading model again
Expected behavior App shows error message when nitro process is exit and next message send should spawn nitro and load model again
@Van-QA @louis-jan , please help to test this ticket after #1493 merged.
Here's the steps:
- Start chatting with any model
- Wait until model successfully loaded (responded)
- Kill the nitro process, you can use Task manager or activity monitor.
- After sometimes (maximum 5 secs), continue chat in the same thread.
- You can see that Jan is automatically load the model again.
Tested on nightly build for both macOS and Windows (192.168.100.13) ✅ Jan reloads the model again after the Nitro process has been killed.