Optional Gemma 4 image support
Image input now works on the CLI, the loopback OpenAI-compatible server, and the
Mac app. It ships as a companion pack that installs beside an existing text
model; without the pack the text runtime is unchanged.
Requires an M2 or newer Apple Silicon Mac. On M1 the image tower is refused by
name and text-only inference is unaffected.
Notable
- Companion pack install with cancel, resume, discard and verify. A resumed
download reproduces a clean install byte for byte. - Server accepts images as base64 data URLs in
image_urlparts; remote URLs are
refused rather than fetched. - Prompt-cache reuse spans image turns, and a changed image correctly invalidates
the retained prefix. - Projector fallbacks for older Metal GPUs, and an Apple10 check before compiling
the MPP variants. - Verified against pinned clients: OpenCode 1.15.11, Pi 0.82.1 and dsh 0.1.1-rc.1.