llama-swap released v269 on November 1, 2026, adding optional persistent captures for recovering requests and responses after restarting the service during local inference troubleshooting. The project reported a chat capture surviving a restart; this establishes neither crash recovery nor measured reliability or performance gains. Devotd also covered the release, citing GitHub’s release record without separate testing. Sources: llama-swap, Devotd Github
Capture persistence defaults to false; enabling store.persistCaptures with store.path: /data/metrics.db stores captures separately in /data/metrics_captures.db, and both databases must move together. The default budget is 5 MB of compressed captures; captureBuffer: 15 raises it to 15 MB, while captureBuffer: 0 disables captures. Pruning removes the oldest captures asynchronously, so activity records can outlive captures; a PR review cautions that this budget is not a hard database-file size limit. Sources: llama-swap
The project’s authentication guide on main documents unauthenticated defaults and apiKeys protection for the web UI and /api/ routes, including captures. All keys have equal permissions without per-user isolation, so shared deployments need access restricted to trusted users. The UI retrieves retained captures through GET /api/captures/{id}, using an activity record’s capture_id; capture writes remain on the request path. Sources: llama-swap
The capabilities.embeddings setting exposes embedding capabilities through /v1/models because llama-server /props provides no embedding information; previously, probed embedding models appeared as text-to-text. The UI derives Chat, Embeddings and Rerank categories from capability flags and modality lists. llama-server b12017 added a list-valued entry to chat_template_caps that broke whole-response decoding; individual-field parsing now preserves discovery, issuing warnings and using zero values for unexpected field types. Sources: llama-swap
Usage accounting now has separate handlers for llama-server, vLLM, Anthropic, OpenAI, TabbyAPI and oMLX. An automatic fallback reads all known formats. Activity metadata adds task type, route, peer and reasoning tokens. Sources: llama-swap
What to do
- Before sharing a deployment, configure apiKeys to protect the UI and /api/ routes, and restrict access to trusted users because keys have equal permissions.
- To enable persistent captures in llama-swap v269, set store.path: /data/metrics.db and store.persistCaptures: true; persisting metrics alone does not persist captures.
- Set captureBuffer: 15 for a 15 MB retained compressed-capture budget, retain the 5 MB default, or set captureBuffer: 0 to disable captures.
- When moving storage configured with store.path: /data/metrics.db, move metrics.db and metrics_captures.db together.
- For embedding models, configure capabilities.embeddings so /v1/models advertises their embedding support. Sources: llama-swap