-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Closed
Closed
Copy link
Labels
🐛 bugSomething isn't workingSomething isn't working
Description
What happened?
When Web Search is enabled and a file is attached, the UI forces a choice of upload type. If "Upload as Text" is selected instead of "Upload for File Search", the upload fails. This same behavior occurs when using an agent that has Web Search enabled by default.
Expected Behavior
The file should successfully upload when selecting "Upload as Text" regardless of whether Web Search is enabled.
Actual Behavior
The file upload fails when selecting "Upload as Text" if Web Search is enabled. It seems the system is expecting the user to select "Upload for File Search" in this context.
Additional Context
This appears to be a UI/UX issue where the file upload options aren't correctly handling the context of Web Search being enabled. The system should either:
- Only show appropriate upload options based on the current context, or
- Properly handle all presented upload options regardless of context
Version Information
- LibreChat Version: 0.7.8
- Browser: Chrome
- Operating System: mac
- Deployment Method: azure container apps and even docker localhost
Steps to Reproduce
Steps to Reproduce
- Enable Web Search functionality for a conversation or use an agent with Web Search enabled by default
- Attempt to upload a file to the conversation
- When presented with upload options, select "Upload as Text"
- Observe that the file upload fails
What browsers are you seeing the problem on?
Chrome
Relevant log output
NA
Screenshots
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
🐛 bugSomething isn't workingSomething isn't working