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
There is an issue with the SendButton in the multimodal-input component. When a message is written in the textArea and ready to be sent, there are two options to trigger the request:
Pressing the Enter key;
Clicking the SendButton.
Expected behavior: The full text from the textArea should be sent to the server in both cases.
Actual behavior:
When pressing Enter: The complete text is successfully sent.
When clicking the SendButton: Only the first character of the textArea content is sent to the server.
Steps to Reproduce
Open the component with the multimodal-input.
Type a message (e.g., "Hello, world!") in the textArea.
Click the SendButton.
Observe that only the first character ("H") is sent to the server.
Environment
Library: OpenAI API integration
Component: multimodal-input
Issue Source: SendButton
Additional Context
No errors appear in the console during this interaction.
Pressing Enter behaves as expected, suggesting that the issue might be related to the event handling or state update when the SendButton is clicked.
The text was updated successfully, but these errors were encountered:
Description
There is an issue with the SendButton in the multimodal-input component. When a message is written in the textArea and ready to be sent, there are two options to trigger the request:
Enter
: The complete text is successfully sent.SendButton
: Only the first character of the textArea content is sent to the server.Steps to Reproduce
Environment
Additional Context
The text was updated successfully, but these errors were encountered: