ai-chat-bot-interface 1.3.0 → 1.3.1
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/package.json +1 -1
- package/src/App.vue +6 -1
- package/src/ChatUi.less +2 -0
- package/src/ChatUi.vue +1 -0
package/package.json
CHANGED
package/src/App.vue
CHANGED
|
@@ -4,7 +4,12 @@ import ChatUi from './ChatUi.vue';
|
|
|
4
4
|
|
|
5
5
|
<template>
|
|
6
6
|
<div style="width: 100vw; height: 100vh">
|
|
7
|
-
<chat-ui
|
|
7
|
+
<chat-ui
|
|
8
|
+
bot-id="7471093458661720104"
|
|
9
|
+
token="pat_2yVcSFJUZB6c9Kdcv9iktIVFeGRuzyK3bAJY6GcqKrdGxTdjKMd1iDB09ipJ6YX8"
|
|
10
|
+
uid="262598"
|
|
11
|
+
:show-header="true"
|
|
12
|
+
/>
|
|
8
13
|
</div>
|
|
9
14
|
</template>
|
|
10
15
|
<style></style>
|
package/src/ChatUi.less
CHANGED
package/src/ChatUi.vue
CHANGED
|
@@ -428,6 +428,7 @@ const chatConv = async (data) => {
|
|
|
428
428
|
) {
|
|
429
429
|
historyList.value[idx].status = 'thinking';
|
|
430
430
|
historyList.value[idx].reasoning_content += strObj.reasoning_content;
|
|
431
|
+
scrollToEnd();
|
|
431
432
|
} else if (
|
|
432
433
|
strObj.hasOwnProperty('content') &&
|
|
433
434
|
strObj.hasOwnProperty('content_type') &&
|