OpenDocument (ODF) files rejected with "Unsupported file type" #11958
Unanswered
biface
asked this question in
Troubleshooting
Replies: 2 comments
-
|
Can you confirm the In particular, Log locations:
There are two types of logs that can help diagnose the issue:
In any case, adding odf recognition by default is trivial to add, and will add it. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Merged default support here: #11959 |
Beta Was this translation helpful? Give feedback.
0 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.
Uh oh!
There was an error while loading. Please reload this page.
-
What happened?
Description
Since upgrading from v0.8.0 to v0.8.3-rc1, uploading LibreOffice / OpenDocument files
(.ods, .odt, .odp) fails with the following error:
These files uploaded successfully in v0.8.0 (processed via fallback text parsing).
Additional Notes
.odtand.ods;.odpnot tested but likely affected given the sameErrorControllerrejection pattern..docxor.pdfbefore uploadingpossibly related to the native text parser work introduced in config v1.3.0
Version Information
Environment
$ docker images | grep librechat ghcr.io/danny-avila/librechat-dev latest 4e1f401e0e74 4 days ago 1.77GB ghcr.io/danny-avila/librechat-rag-api-dev-lite latest 3d3178a04e1b 8 weeks ago 1.69GBConfiguration
Even with the broad
application/.*wildcard, the error persists.The rejection appears to be hardcoded in
ErrorController, not driven by config.Steps to Reproduce
fileConfig.endpoints.default.supportedMimeTypes:.ods,.odt, or.odpfile in the chat interfaceWhat browsers are you seeing the problem on?
Firefox
Relevant log output
Expected Behavior
ODF files should be accepted and processed via fallback text parsing,
as they were in v0.8.0.
Actual Behavior
Upload is rejected by
ErrorControllerwith:unsupported file type: application/vnd.oasis.opendocument.spreadsheetorunsupported file type: application/vnd.oasis.opendocument.textThe rejection occurs at the controller level regardless of
supportedMimeTypesconfiguration.Screenshots
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions