diff options
| author | Danilo M. <danix@danix.xyz> | 2026-11-11 12:05:28 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-11-11 12:05:28 +0100 |
| commit | b0400039058a7f7bf9fc951060727d9c52910526 (patch) | |
| tree | 9f599b3dcdbf80361ff7e29b412826eb431702f3 /AGENTS.md | |
| parent | b135bf3bb92e3768cd6af0c74e11d8cbd0e15cc0 (diff) | |
| download | desktop-assistant-b0400039058a7f7bf9fc951060727d9c52910526.tar.gz desktop-assistant-b0400039058a7f7bf9fc951060727d9c52910526.zip | |
docs: barcode tool live check
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'AGENTS.md')
| -rw-r--r-- | AGENTS.md | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -329,6 +329,24 @@ file's path, images included. Spec: - The model calls the found items "the 2 items you provided": they were its own. +### Barcode tool, live check (2026-11-11) + +`barcode` (`examples/tools/barcode.toml`): `ZXingReader -1 {path}` +(zxing-cpp, already installed), no wrapper. Images only, no PDFs. +`cloud = ["hetzner"]` like `redact`. + +- Output is one line per code: file, format, quoted text. Nothing found + prints `None`; an unreadable file prints nothing (error on stderr, + exit 0), which the description explains. +- Before it, the model said it could not decode a barcode it saw. +- Through a second daemon on a scratch socket and data dir, made-up + images, Gemma: a QR inside a larger picture, an EAN-13, a Code 128 + rotated 90°, a WiFi QR ("what's the password?"), it and en: right + tool and right answer 4/4; an image with no code got "no QR code + was found"; a question about the image's colours called no tool. + Tool call at 7-13 s (23 s for the WiFi one, longer reasoning), reply + 1.7-3.3 s after it. + ### Cloud models, live check (2026-10-23) Hetzner's inference API (`https://inference.hetzner.com/api/v1`, |
