When I attempt to mention assistants in the chat by typing @ and selecting one, I receive an unexpected error in the application. The error prevents me from proceeding with the assistant selection and crashes the input field.
Expected Behavior:
I expected to see a list of available assistants and to be able to select one without the application crashing.
Environment:
Branch: Main
Operating System: Ubuntu 24.04
Browser: Chrome Version 128.0.6613.137 (Official Build) (64-bit)
Node.js Version: v20.17.0
Steps to Reproduce
Open LibreChat.
Start a new chat and type @ in the input field.
Try to select any assistant from the dropdown menu.
The application crashes, and an error is displayed.
What browsers are you seeing the problem on?
Chrome
Relevant log output
Unexpected Application Error!
Cannot read properties of undefined (reading 'map')
TypeError: Cannot read properties of undefined (reading 'map')
at Mention (Mention.tsx:159:43)
at renderWithHooks (chunk-AXVHJUCK.js:21682:26)
...
I am running the application in debug mode, and the error occurs in the Mention.tsx file on line 159. Here's the relevant part of the code:
{(matches as MentionOption[]).map((mention, index) => (
Screenshots
Code of Conduct
[X] I agree to follow this project's Code of Conduct
What happened?
When I attempt to mention assistants in the chat by typing @ and selecting one, I receive an unexpected error in the application. The error prevents me from proceeding with the assistant selection and crashes the input field.
Expected Behavior: I expected to see a list of available assistants and to be able to select one without the application crashing.
Environment: Branch: Main Operating System: Ubuntu 24.04 Browser: Chrome Version 128.0.6613.137 (Official Build) (64-bit) Node.js Version: v20.17.0
Steps to Reproduce
What browsers are you seeing the problem on?
Chrome
Relevant log output
Screenshots
Code of Conduct