We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6667baa commit 105f42dCopy full SHA for 105f42d
src/paperqa/docs.py
@@ -281,7 +281,7 @@ async def aadd( # noqa: PLR0912
281
overlap=parse_config.overlap,
282
page_size_limit=parse_config.page_size_limit,
283
use_block_parsing=parse_config.pdfs_use_block_parsing,
284
- parse_images=parse_config.multimodal,
+ parse_images=False, # Peeking is text only
285
parse_pdf=parse_config.parse_pdf,
286
)
287
if not texts or not texts[0].text.strip():
@@ -300,6 +300,7 @@ async def aadd( # noqa: PLR0912
300
or "insufficient" in citation
301
):
302
citation = f"Unknown, {os.path.basename(path)}, {datetime.now().year}"
303
+ del result, texts # Ensure we don't reuse
304
305
doc = Doc(
306
docname=self._get_unique_name(
0 commit comments