Hi @ilmari Thanks for reaching out!
It's strange that it is sending twice. So far, I've only been able to reproduce this when I have the same ai query on the chat component's "Query to trigger" interaction setting as well as on the component's submit event handler. Any chance that is how yours is configured (see screenshot)? If so, I'd try removing the event handler.
If you don't see anything in the chat component's event handlers, can you check the debug console (also shown in screenshot) to see if theres any notes as to why it's triggering a second time