这是indexloc提供的服务,不要输入任何密码
Skip to content

[Bug]: Unsupported file type: text/x-c++hdr #8564

@huynd65

Description

@huynd65

What happened?

Hi, when I tried to upload a .hpp file or a .h file to my agent i got this error: Currently, unsupported file type: text/x-c++hdr. I really want those C files can be uploaded as text like other file format for code refactor purpose

Image

Version Information

ghcr.io/danny-avila/librechat-dev latest f83016cbd11a 2 months ago 1.02GB
ghcr.io/danny-avila/librechat latest 17cfdb1df083 2 months ago 1.02GB
ghcr.io/danny-avila/librechat-rag-api-dev-lite latest e7da8e6aca0f 2 months ago 1.31GB

Steps to Reproduce

  1. Create any agent
  2. Select upload file icon
  3. Select any upload file option and choose .hpp or .h file
Image

What browsers are you seeing the problem on?

Chrome

Relevant log output

No error log for this error, seem the file type is blocked from the UI

Screenshots

Image

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions