Skip to content

[Bug]: Attach file action / click submits chat instead of only handling file uploads #6571

@illgitthat

Description

@illgitthat

What happened?

If I start a new chat, type part of a message, then attempt to attach a file, the message is automatically submitted without allowing me to continue my actions.

Version Information

ubuntu@misc-oci:~/LibreChat$ docker images | grep librechat
ghcr.io/danny-avila/librechat-dev                latest    21c4a72879e1   15 hours ago    919MB
ghcr.io/danny-avila/librechat-rag-api-dev-lite   latest    4cb4b114eb58   19 hours ago    1.28GB
ghcr.io/danny-avila/librechat-dev                <none>    729668dd3852   25 hours ago    919MB
ghcr.io/danny-avila/librechat-dev                <none>    281370ef6739   39 hours ago    919MB
ghcr.io/danny-avila/librechat-rag-api-dev-lite   <none>    333b44cb7d38   2 weeks ago     1.27GB

Steps to Reproduce

  1. Start a new chat
  2. Type a character
  3. Click the attach file icon
  4. Notice that the chat is already submitted

Note: I observed this on regular endpoint not an agent.

What browsers are you seeing the problem on?

Chrome

Relevant log output

Screenshots

attachment.mp4

Code of Conduct

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

Metadata

Metadata

Assignees

Labels

🐛 bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions