A run on the EVOX2's llm-server writes nothing to its transcript while the model streams; at ~17 tok/s one big `write` is ten silent minutes that read as a hang (the 2026-11-01 zipgo run: a 9.8k-token HTML page in one call). - sidecar/gen_progress.py polls llm-server for every live local run (router /models first, then the slot): loading / prefill / decode / idle / unreachable, tokens vs cap, tok/s, opencode's streaming tool; /sessions carries it as `progress`. - backend/runs/genprogress.py relays it: GET /api/gen-progress + a `gen-progress` SSE tick (guest-filtered), and one push per idle stretch after GEN_STALL_PUSH_S (20 min) with no server work and no transcript growth. - GenProgress.tsx: a strip under the conversation's last message and a pill on the list and rail cards. subscribeEvents drops tick events unless asked. - sidecar/local-model.md: small tool calls, big files in sections — appended to local opencode runs (instructions) and local pi runs (runner). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
818 B
818 B
You are running on a local model
This run is served by a model on the EVOX2 box (llama.cpp, a single slot). It writes about 15–25 tokens per second — a 30 KB page is ten minutes — and nothing you write reaches Gabriel until a tool call is complete. So:
- Keep each tool call small: at most ~3,000 tokens (≈ 250 lines) of arguments.
- Write a large file in sections: create it with a short skeleton (the structure, with placeholder comments), then fill each section with its own edit. Never put a whole page or module into one write.
- Your reply has a hard output cap. A tool call cut off by it is lost whole, with all the time spent writing it.
- Read narrowly (
grep -n,sed -n 'a,bp', offsets): every token you read is prompt the server has to process again on later turns.