Repository navigation
Is "Upload for Text" broken? #10051
Replies: 3 comments 5 replies
|
I've also been experiencing inconsistent results with "Upload as Text", especially in the case of agents where the File Search capability is also enabled. |
2 replies
It is not, but it was changed to make OCR optional and not required. What you may be experiencing is PDFs that may have only been possible to parse via OCR (likely image-based, as whole pages of text can sometimes be "images" with PDFs) See more info for customizing what gets used for OCR vs. not if you have it configured. https://www.librechat.ai/docs/features/ocr#ocr-processing-configuration |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
What happened?
I'm trying to chat with an uploaded PDF-file in the "Upload for Text" mode. I have Mistral OCR configured.
The file is not added to the context and the attached files disappears from the chat.
I am using LiteLLM as a proxy - I have tried several different models, gpt-5-nano, gpt-4-omni, claude-sonnet-4.5. All fail.
Version Information
On main - commit: 20282f3
Steps to Reproduce
What browsers are you seeing the problem on?
Firefox
Relevant log output
.... 2025-10-09T14:05:22.976Z debug: [AgentController] Request aborted on close 2025-10-09T14:05:22.977Z debug: [BaseClient] Loading history: { conversationId: "605e95a5-85cc-477a-a4a8-d986da42985b", parentMessageId: "00000000-0000-0000-0000-000000000000", } 2025-10-09T14:05:23.079Z debug: [BaseClient] Context Count (1/2) { remainingContextTokens: 359985, maxContextTokens: 360000, } 2025-10-09T14:05:23.079Z debug: [BaseClient] Context Count (2/2) { remainingContextTokens: 359985, maxContextTokens: 360000, } 2025-10-09T14:05:23.079Z debug: [BaseClient] tokenCountMap: { 663fb90f-8cab-480a-a401-c1d2e41da85e: 12, } 2025-10-09T14:05:23.080Z debug: [BaseClient] { promptTokens: 15, remainingContextTokens: 359985, payloadSize: 1, maxContextTokens: 360000, } 2025-10-09T14:05:23.080Z debug: [BaseClient] tokenCountMap { 663fb90f-8cab-480a-a401-c1d2e41da85e: 12, } 2025-10-09T14:05:23.080Z debug: [BaseClient] userMessage { messageId: "663fb90f-8cab-480a-a401-c1d2e41da85e", parentMessageId: "00000000-0000-0000-0000-000000000000", conversationId: "605e95a5-85cc-477a-a4a8-d986da42985b", sender: "User", text: "Vilken adress för besiktningen?", isCreatedByUser: true, tokenCount: 12, } 2025-10-09T14:05:23.131Z debug: [saveConvo] api/app/clients/BaseClient.js - saveMessageToDatabase #saveConvo 2025-10-09T14:05:29.918Z debug: [spendTokens] conversationId: 605e95a5-85cc-477a-a4a8-d986da42985b | Context: message | Token usage: { promptTokens: 15, completionTokens: 142, } 2025-10-09T14:05:29.937Z debug: [spendTokens] No transactions incurred against balance 2025-10-09T14:05:29.958Z debug: [saveConvo] api/app/clients/BaseClient.js - saveMessageToDatabase #saveConvo 2025-10-09T14:05:29.998Z debug: [AgentController] Request closed 2025-10-09T14:05:33.803Z debug: [spendTokens] conversationId: 605e95a5-85cc-477a-a4a8-d986da42985b | Context: title | Token usage: { promptTokens: 183, completionTokens: 656, } 2025-10-09T14:05:33.805Z debug: [saveConvo] api/server/services/Endpoints/agents/title.js 2025-10-09T14:05:33.836Z debug: [spendTokens] No transactions incurred against balance 2025-10-09T14:05:33.849Z debug: [AgentController] Title generation started 2025-10-09T14:05:33.849Z debug: [AgentController] Title generation completed 2025-10-09T14:05:33.849Z debug: [AgentController] Performing cleanup 2025-10-09T14:05:33.849Z debug: [AgentController] Cleaning up abort controller 2025-10-09T14:05:33.849Z debug: [AgentController] Cleanup completedScreenshots
No response
Code of Conduct
All reactions