Commit Graph

4 Commits

Author SHA1 Message Date
Mortdecai b901b8be6e fix: use fast model for story selection, gemma4 for summaries only
gemma4:26b under format:json ignores the bare-array instruction and returns a
reasoning object ({"thought": ...}), which broke Phase-1 selection (Unterminated
string -> silent fallback to first-5). Selection now uses ollama_select_model
(default qwen2.5:1.5b); summaries stay on gemma4:26b. Also tolerate dict-shaped
selection responses defensively.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-07 13:36:20 -04:00
Mortdecai 7bfe862f53 feat: discover printer by MAC (survives DHCP IP changes)
Add discover_printer(), _mac_of(), _port_open(), _sweep_arp(), _cache_ip()
with PRINTER_MAC/PRINTER_SUBNET/CACHE_FILE config + unit tests. Also adds
conftest.py to work around broken symlink that blocked pytest collection.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-07 13:20:34 -04:00
Mortdecai fa580ec936 feat: summarize with gemma4:26b using converged prompt
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-07 13:17:28 -04:00
Seth 5e733a2aa9 Initial commit: POS-only daily briefing for Epson TM-m30 2026-03-17 00:15:49 -04:00