Commit Graph

2 Commits

Author SHA1 Message Date
wangjue
14bd455bde Add --screenshot flag for interactive screen region selection 2026-05-29 15:38:05 +08:00
wangjue
cdcd1f7202 feat: implement OCR tool using llama.cpp multimodal API
- Support GLM-OCR model with -m (model) and --mmproj (mmproj) options
- Custom prompt support via -p (default: OCR)
- Greedy/temperature sampling with --temp flag
- JSON output with --json flag
- GPU acceleration via -ngl option
- Use correct GLM-OCR chat template format for prompt construction
2026-05-29 14:57:37 +08:00