ai-chat-bot-interface 1.1.9 → 1.2.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ai-chat-bot-interface",
3
3
  "private": false,
4
- "version": "1.1.9",
4
+ "version": "1.2.0",
5
5
  "type": "module",
6
6
  "main": "index.js",
7
7
  "description": "A AI chat bot interface. (private)",
package/src/App.vue CHANGED
@@ -4,7 +4,7 @@ import ChatUi from './ChatUi.vue';
4
4
 
5
5
  <template>
6
6
  <div style="width: 100vw; height: 100vh">
7
- <chat-ui bot-id="000" token="pat_8888" uid="262598" />
7
+ <chat-ui bot-id="000" token="pat_28888" uid="262598" />
8
8
  </div>
9
9
  </template>
10
10
  <style></style>
@@ -181,7 +181,6 @@ const handleTag = (info) => {
181
181
  const sendMsg = (e) => {
182
182
  const list = [{ content: textValue.value, text: textValue.value }];
183
183
  if (uFileList.value.length) {
184
- console.log(uFileList.value);
185
184
  list.push({
186
185
  type: 'object_string',
187
186
  content: uFileList.value.map((file) => ({
@@ -190,6 +189,7 @@ const sendMsg = (e) => {
190
189
  file_url: file.file_url,
191
190
  })),
192
191
  });
192
+ uploadPlane.value = false;
193
193
  }
194
194
  Emits('send', [...list]);
195
195
  clearAllFile();