No description
Find a file
2026-10-11 01:09:47 +03:30
app server: idleTimeout 255 against slow-TTFT SSE reaps 2026-10-11 01:09:47 +03:30
docs docs: opencode nine/local-9router via boobies combo, keyless localhost 2026-10-09 22:46:14 +03:30
.gitignore app: minimal B&W chat UI to test ollama models (bun + sqlite, streaming, history, compare) 2026-10-09 18:11:47 +03:30
example.py app: pin models loaded forever (keep_alive -1) with unpin 2026-10-09 23:53:31 +03:30
README.md docs: drop chat-light screenshot 2026-10-10 00:10:01 +03:30

demo-chat

Local-first test bench for Ollama models on a shared-GPU Windows PC (i3-12100, Intel UHD 730 via Vulkan, 32 GB RAM): chat with any local model — including the ones OpenCode can't use as agents — with per-turn performance logging, history, model comparison charts, and a live VRAM view.

A linked chat session (/chat/4) with Persian reply + perf badge Compare leaderboard and charts in dark mode

Quick start

cd app
bun src/server.ts          # http://localhost:3000

Requires Ollama at http://127.0.0.1:11434 with OLLAMA_IGPU_ENABLE=1 (see docs/Ollama-iGPU-Setup.md), otherwise everything falls back to slow CPU inference. Bun 1.4+ is the only dependency.

What's inside

Path Contents
app/ the chat app (Bun + SQLite, zero npm deps) — see app/README.md
app/docs/ app docs: overview, usage, API, database, test reports
docs/ machine setup notes: Ollama on shared GPU, Farsi model tests, 9Router wiring + raw fa-tests/ outputs

Key findings so far

  • Ollama ignores the Intel iGPU unless OLLAMA_IGPU_ENABLE=1 — then all models run at 100% shared GPU (docs/Ollama-iGPU-Setup.md).
  • 16 models tested for Persian; 4 winners + 1 tuned farsi-gemma (docs/Farsi-Models.md). Gemma models lack OpenCode tools support, hence this app; aya-expanse:8b / command-r7b work as OpenCode agents.
  • 9Router fronts Ollama as local/* for any OpenAI client (docs/9Router.md) — don't use prefix ollama, it collides with a built-in provider id.