You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have implemented a fully functional customMessage. However, my problem is that every time I pass a normal message using e.g. createChatBotMessage, the customMessages get overridden to that last "standard' message. So, custom messages never persist in the conversation. This happens even when directly copying and pasting the original example from @FredrikOseberghere. If you flip the order of the messages in the initialMessages and put the createCustomMessage before the createChatBotMessage, you will no longer see the custom one.
This issue seems to be referenced in issue #87 and solved by @viktorsvil in a way that I cannot reproduce.
The text was updated successfully, but these errors were encountered:
Just to add a bit more details to what "overridden" means: Any time a new bot message is created through CreateChatBotMessage, it is not only rendered in the last position in the chat, but it is also rendered wherever a customMessage was. So, in my case, I end up having the last message duplicated in the initial one.
I have implemented a fully functional customMessage. However, my problem is that every time I pass a normal message using e.g. createChatBotMessage, the customMessages get overridden to that last "standard' message. So, custom messages never persist in the conversation. This happens even when directly copying and pasting the original example from @FredrikOseberg here. If you flip the order of the messages in the initialMessages and put the createCustomMessage before the createChatBotMessage, you will no longer see the custom one.
This issue seems to be referenced in issue #87 and solved by @viktorsvil in a way that I cannot reproduce.
The text was updated successfully, but these errors were encountered: