Commit 738727d
Changed files (1)
src
ai
texts
src/ai/texts/contexts.py
@@ -29,7 +29,7 @@ if TYPE_CHECKING:
from io import BytesIO
TXT_EXT = [".sh", ".json", ".xml", ".tex"] # treat these as txt file
-MARKDOWN_EXT = [".pdf", ".html", ".docx", ".pptx", ".xls", ".xlsx"] # convert to markdown
+MARKDOWN_EXT = [".pdf", ".html", ".docx", ".pptx", ".xls", ".xlsx", ".epub"] # convert to markdown
# gemini has built-in support for these extensions
GEMINI_EXT = [".pdf", ".html", ".css", ".csv", ".xml", ".rtf", ".mp3", ".wav", ".ogg", ".aac", ".flac", ".jpg", ".jpeg", ".webp", ".png", ".heic", ".heif"]
# gemini has built-in support for these mime types