api_webchat\messagesArea.js:238 - If you declare your event listener async, you can use await instead of then-chaining, which is considered to be the better approach.
js\mzta-chatgpt.js:170 - You are inside an async function, so you can (should actually) use await instead of then-chaining. Using then-chaining in async functions has the potential to introduce hard-to-track timing issues (not in this case, but in general).
Thanks to @jobisoft