You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
timothycarambat
changed the title
[BUG]: hpp (header for a C++ code file) reports an error when importing
[FEAT]: hpp (header for a C++ code file) MIME addition
Nov 19, 2024
How are you running AnythingLLM?
AnythingLLM desktop app
What happened?
In the "My Documents" management window, I'm trying to upload a
.hpp
file and I get the following error:"File extension .hpp not supported for parsing and cannot be assumed a text file"
Code reference:
anything-llm/collector/processSingleFile/index.js
Line 60 in 727d802
I've raised a PR for the upstream project mime:
broofa/mime#318
If this doesn't get merged, then we could add
hpp
to the setOverrides list:anything-llm/collector/utils/files/mime.js
Line 19 in 727d802
Are there known steps to reproduce?
No response
The text was updated successfully, but these errors were encountered: