-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Open
Description
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:
- 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.
- When pressing
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
Metadata
Metadata
Assignees
Labels
No labels