Mate-Engine icon indicating copy to clipboard operation
Mate-Engine copied to clipboard

[BUG] App crashes when loading AI chat

Open OdinBUTuhhhhhhh opened this issue 6 months ago • 1 comments

What happened?

Every time I try to use the AI it gets stuck on loading and crashes. Unsure if this is important, my laptop has an intel pentium silver (very bad)

Steps to Reproduce

Select AI chat and wait.

App Version

2.1.4

Store Edition

GitHub Edition

Confirmation

  • [x] I confirm this report includes only one bug.

OdinBUTuhhhhhhh avatar Jun 03 '26 20:06 OdinBUTuhhhhhhh

When you open the chat for the first time, it downloads an LLM from HuggingFace. I believe in some cases this could be the main problem. I encountered this problem and fixed it the following way:

  1. Go to Mate Engine\MateEngineX_Data\StreamingAssets
  2. Open LLMManager.json with any text editor
  3. Copy URL for model weights and paste it in your browser's address bar, this should initiate the download
  4. After the file downloads, place it in Mate Engine\MateEngineX_Data\StreamingAssets

However, this does not guarantee that the chat will work for you, as your specs may not be enough to run LLM locally (btw, your GPU is more important here than the CPU), or it may work, but be extremely slow. You could give it a shot, though.

There's also a fork that allows you to use OpenRouter for LLMs, could be a good way to overcome your device limits. I haven't tried it though, so I can't say whether it's good or bad, but I reckon you could also look into that.

VSvir avatar Jun 04 '26 12:06 VSvir