github Arthur-Ficial/apfel v0.9.1

latest releases: v1.8.4, v1.8.3, v1.8.2...
3 months ago

Fix: Clear error messages for binary/image files (#48)

When attaching a non-text file with -f, apfel now gives specific, helpful errors instead of the misleading "cannot read file":

  • Image files (.jpg, .jpeg, .png, .heic, etc.): cannot attach image: file.jpg -- the on-device model is text-only (no vision). Try: tesseract file.jpg stdout | apfel "describe this"
  • Binary files (.pdf, .zip, .mp4, etc.): cannot attach binary file: file.zip -- only text files are supported
  • Unknown binary: file is not valid UTF-8 text: file.dat (binary file?)

Update

brew upgrade apfel

Don't miss a new apfel release

NewReleases is sending notifications on new releases.