• Resolved disilbax

    (@disilbax)


    Hello,

    I believe there’s a bug in the system.

    When the content sent by the AI contains emojis, the response gets cut off. Specifically, the paragraph containing the emoji does not appear completely.

    This issue occurs when streaming responses are enabled. However, when streaming is disabled, the sentences are not cut off.

    I tried using the Typewriter Effect, but the delay is too long.

    Is there a way to fix this issue, if it is indeed a bug? I would still like to have the ability to stream the responses.

    Thank you very much.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jordy Meow

    (@tigroumeow)

    Hi,

    I have only one other user with the same issue; but in fact, I don’t know why it happens, and it certainly doesn’t happen for 99% installs. The chatbots I used on all my websites use streaming as well as a lot of emoji ??

    You can check the PHP Error Logs, maybe there will be something there, but I am not sure. Also, it would be interested to know from which country you are, where you server is located, if your WordPress was set recently or a long time ago, etc. I suspect there might be something related to encoding, a database using an old collation, etc.

    Thread Starter disilbax

    (@disilbax)

    Thank you for your answer.

    I am in France with servers located in France as well. the Wp was set recently.

    Did you try to test when emoji is at the begining of the sentence ? I think that when I have most issues.

    Thread Starter disilbax

    (@disilbax)

    Hello,

    I can confirm that the problem is only occuring when the AI message start with an emoji.

    It does not depend on servers or location. The console error is :
    “Uncaught DOMException: Failed to execute ‘removeChild’ on ‘Node’: The node to be removed is not a child of this node. ” on react-dom.min.js file

    Plugin Author Jordy Meow

    (@tigroumeow)

    In fact, it doesn’t happen to most of my users (probably to some, but I have only heard it from you for now) and I can’t reproduce it. I feel like something else is going on. AI Engine is using the version of React (react-dom.min.js) that is installed in your WordPress, it’s possible the version of React might be overriden by another plugin, I am not sure.

    You can also try talking to my chatbot on meowapps.com. Simply ask:

    Can you tell me what’s your favorite emoji? Please, only answer by only one emoji, and only that.

    It works totally fine. I have many users with chatbots which are replying only using emoticons ?? So yes, I feel like something is going on with your version of React.

    Since you are in France, by any chance, are you using OVH? If yes, can you try AI Engine on a hosting/server that is not OVH? I am asking this, because many French users with OVH encounter various issues, not this one, normally it’s more connectivity-related.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.