I have been experiencing this issue for quite some time, but haven't quite been able to pin down a minimal reproducible example. But oftentimes, when I start a new chat, type in a message, and send with Cmd+Enter, the message appears twice in the chat and I get an error alert from the app. Other times, the message will simply disappear from the input box without being added to the chat, and only leaving the chat and returning to it will show the message. When the double message send happens, sending any further messages to that chat also causes errors and does not output any model responses.
Strangely, I haven't encountered this with follow-up messages, but I can't eliminate the possibility that it exists there too.
While I can't reliably reproduce this, it occurs often. I think this may be a race condition when I use Cmd+Enter to send a message. Maybe mutex locking or debouncing the send message functionality will prevent this? Happy to provide any more info that would be helpful, as this is pretty frustrating when it happens.