Skip to content

Troubleshooting

ChatBots edited this page Sep 11, 2026 · 11 revisions

Troubleshooting

Start here: run the installer again.

cd ChatBots
bash tools/install.sh

Every step repairs rather than duplicating. An interrupted download continues, a half-finished build is redone, and nothing is fetched twice. That is the right first response to almost anything.

The window is connected but never updates

The engine is reachable and the live feed is not arriving. The app polls once a second as a safety net, so a frozen window means something deeper. Look at the engine's log:

tail -20 ChatBots/.run/app-engine.log

It will not start

"The engine could not be found"

The app ships its engine inside itself. A copy assembled by hand without it cannot start one:

bash tools/make-app.sh

The app bounces once and disappears

Open Terminal and run it directly, so you can see the error:

cd ChatBots
./dist/ChatBots.app/Contents/MacOS/ChatBots

Failed to load the default metallib

The Metal shader library is missing. The installer fixes this:

bash tools/install.sh

or, on its own:

bash tools/fetch-metal.sh --bin dist/ChatBots.app/Contents/MacOS/ChatBots --into dist/ChatBots.app

The website will not load

Is the Terminal window still open? That is the server.

bash tools/start.sh --status     # what is running
bash tools/start.sh              # start it again

If a port is busy, the script says so. Use different ones:

bash tools/start.sh --port 7990 --engine 7991

It loads on the Mac but not on my phone

Both devices must be on the same Wi-Fi, and the Mac's firewall must allow the connection — System Settings → Network → Firewall. Some routers also isolate wireless clients from each other, which no setting on the Mac can fix.

It is slow, or seems stuck

The first turn takes a long time

Normal. The model is being loaded into memory — a few seconds, and it only happens once per seat.

A turn never finishes

Have a look at the engine log:

tail -20 ChatBots/.run/engine.log

If nothing is happening at all, something else may be holding the GPU. Quit LM Studio, any game, and any other app doing heavy graphics work.

Every turn takes minutes

Two models generating at once share the GPU, so each is slower than it would be alone. Some things that help:

  • Use show thinking: Off, or a lower thinking level. Reasoning tokens cost as much as answer tokens.
  • Lower max output tokens in the pane settings.
  • Press Pause and read for a while, then resume.
  • For a long conversation, Condense to shrink the prompt — a long prompt takes longer to read before the model starts writing.

It is using a lot of memory

Each seat holds its own copy of the model. Two seats means two copies. With 8 GB of memory, run one seat on a cloud model instead — see Using cloud models.

It crashes

It crashed and there is a report in Console

Look for the faulting function:

ls -t ~/Library/Logs/DiagnosticReports/ChatBots*.ips | head -1

If it names mlx::core — CompilerCache::find, CustomKernel::eval_gpu — that is a known intermittent fault in the MLX runtime, not in this app. It is rare. Restart and carry on; if it happens repeatedly on the same kind of turn, note it, because it is worth reporting upstream.

It crashed while a long conversation was running

The context may be too full. Check the ctx figure at the bottom — if it is over about 90%, press Clear and start again, or Condense to reclaim room.

Nothing comes out of the model

The pane says "produced no text"

This nearly always means a reasoning model spent its whole output budget thinking. You will see the reasoning-token count in the message. Fixes:

  • Raise the thinking level's headroom, or set it to Off.
  • Raise max output tokens.
  • Use a shorter prompt — Condense first.

A cloud model returns "I cannot view the image"

That model has no vision. Use the local checkpoint for images, or remove the image.

The answer is repetitive nonsense

This is what a model does when the sampling is wrong for it. The defaults are tuned for Qwen 3.5 with thinking on. If you are using a different model, try a lower temperature, and make sure thinking is not Off — some models degenerate badly without it.

Documents

"has no text layer — it looks like a scan"

The PDF is a picture of a page. Run OCR on it first, or find a text version.

The extracted text is wrong

Open the magnifying glass on the chip and look. PDFs with unusual layouts can lose their column structure during extraction. Try exporting a plain text version, or a different PDF.

A file is refused

The limits are around 64 MB per file and roughly 30,000 words of extracted text. A larger file is refused rather than silently shortened to nothing.

Reset everything

To start from a clean slate but keep your models:

rm -rf ChatBots/.build ChatBots/dist
cd ChatBots && bash tools/install.sh

To remove your saved settings as well:

defaults delete local.chatbots.twollms

To remove the downloaded models too — this means downloading 3 GB again:

rm -rf ChatBots/models

Asking for help

Useful things to include:

sw_vers                            # macOS version
uname -m                           # should say arm64
sysctl -n hw.memsize               # memory, in bytes
tail -30 ChatBots/.install.log     # if setup failed
tail -30 ChatBots/.run/engine.log  # if a conversation failed
tail -30 ChatBots/.run/app-engine.log  # if the desktop app could not reach the engine

Redact any API key before posting.


Next: How it works

Clone this wiki locally