bibot 1.0.42 → 1.0.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.modern.js
CHANGED
@@ -3634,7 +3634,8 @@ var useBiBotChatBot = function useBiBotChatBot(_ref) {
|
|
3634
3634
|
client_id: clientId,
|
3635
3635
|
q: input,
|
3636
3636
|
session_id: client_session_id ? client_session_id : state.sessionId,
|
3637
|
-
chat_id: v4()
|
3637
|
+
chat_id: v4(),
|
3638
|
+
chat_history: messages
|
3638
3639
|
})).then(function (response) {
|
3639
3640
|
setMessages(function (messages) {
|
3640
3641
|
return [].concat(messages, [{
|