[GH-ISSUE #4541] [BUG]: File Attached, but AnythingLLM responds note that the user did not provide the actual PDF #2889

Closed
opened 2026-02-22 18:31:42 -05:00 by yindo · 1 comment
Owner

Originally created by @sts098 on GitHub (Oct 14, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/4541

How are you running AnythingLLM?

AnythingLLM desktop app

What happened?

Attached a PDF file and included a prompt to analyze it. AnythingLLM Responds: We are given a task to analyze a product bulletin PDF and generate specific content. However, note that the user did not provide the actual PDF.

Expected the file to be analyzed OR AnythingLLM indicate that there was an issue with the file.

Are there known steps to reproduce?

There was an issue with the PDF. I used Foxit PDF Editor to recognize text. The file was a sales flier with multiple columns. Foxit recognized the file row by row. This created strings of text that did not create actual sentences or complete thoughts and must have confused the model. Would have been better if AnythingLLM could simply inform the user that there was an issue with the PDF.

Originally created by @sts098 on GitHub (Oct 14, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/4541 ### How are you running AnythingLLM? AnythingLLM desktop app ### What happened? Attached a PDF file and included a prompt to analyze it. AnythingLLM Responds: We are given a task to analyze a product bulletin PDF and generate specific content. However, note that the user did not provide the actual PDF. Expected the file to be analyzed OR AnythingLLM indicate that there was an issue with the file. ### Are there known steps to reproduce? There was an issue with the PDF. I used Foxit PDF Editor to recognize text. The file was a sales flier with multiple columns. Foxit recognized the file row by row. This created strings of text that did not create actual sentences or complete thoughts and must have confused the model. Would have been better if AnythingLLM could simply inform the user that there was an issue with the PDF.
yindo added the possible bugneeds info / can't replicate labels 2026-02-22 18:31:42 -05:00
yindo closed this issue 2026-02-22 18:31:42 -05:00
Author
Owner

@timothycarambat commented on GitHub (Oct 14, 2025):

There is not enough evidence to conclude that the model is simply hallucinating that the PDF is not attached. If all you did was drag and drop, you should see a # next to the paperclip icon and hovering it should reveal a tooltip indicating the # of tokens currently in the chat vs the # available.

Image

This would indicate if the PDF content is parsed and readable. That being said, we include the entire document in context when using this method, so it should be clear to the model a file is included.

Lastly, which LLM and provider and what is the Desktop version?

@timothycarambat commented on GitHub (Oct 14, 2025): There is not enough evidence to conclude that the model is simply hallucinating that the PDF is not attached. If all you did was drag and drop, you should see a # next to the paperclip icon and hovering it should reveal a tooltip indicating the # of tokens currently in the chat vs the # available. <img width="498" height="166" alt="Image" src="https://github.com/user-attachments/assets/56d3a90d-96c9-4357-aa8e-bfc88cf75572" /> This would indicate if the PDF content is parsed and readable. That being said, we include the entire document in context when using this method, so it should be clear to the model a file is included. Lastly, which LLM and provider and what is the Desktop version?
yindo changed title from [BUG]: File Attached, but AnythingLLM responds note that the user did not provide the actual PDF to [GH-ISSUE #4541] [BUG]: File Attached, but AnythingLLM responds note that the user did not provide the actual PDF 2026-06-05 14:49:05 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#2889