feat: add PDF file support and refactor image handling

This commit is contained in:
Paul Gauthier 2024-11-26 17:19:28 -08:00 committed by Paul Gauthier (aider)
parent 73c1dc697f
commit b8f36c8277
3 changed files with 7 additions and 10 deletions

View file

@ -13,7 +13,7 @@ import git
from aider.dump import dump # noqa: F401
IMAGE_EXTENSIONS = {".png", ".jpg", ".jpeg", ".gif", ".bmp", ".tiff", ".webp"}
IMAGE_EXTENSIONS = {".png", ".jpg", ".jpeg", ".gif", ".bmp", ".tiff", ".webp", ".pdf"}
class IgnorantTemporaryDirectory: