bibot 1.0.42 → 1.0.45
Sign up to get free protection for your applications and to get access to all the features.
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, [{
|