@newview/ui 1.1.60 → 1.1.61
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/newview-ui.js +6 -0
- package/dist/newview-ui.umd.cjs +1 -1
- package/package.json +75 -75
package/dist/newview-ui.js
CHANGED
|
@@ -251687,6 +251687,7 @@ let AIBasicsInstance$1 = class AIBasicsInstance2 extends BaseInstance {
|
|
|
251687
251687
|
inputModel: this.inputModel.value,
|
|
251688
251688
|
chatContent: ""
|
|
251689
251689
|
});
|
|
251690
|
+
this.scrollToBottom();
|
|
251690
251691
|
await this.doRunAI();
|
|
251691
251692
|
this.inputModel.value = "";
|
|
251692
251693
|
});
|
|
@@ -251746,10 +251747,12 @@ let AIBasicsInstance$1 = class AIBasicsInstance2 extends BaseInstance {
|
|
|
251746
251747
|
}
|
|
251747
251748
|
}),
|
|
251748
251749
|
onmessage(event2) {
|
|
251750
|
+
_this.scrollToBottom();
|
|
251749
251751
|
if (_this.utilities.isNull(event2.data)) {
|
|
251750
251752
|
return;
|
|
251751
251753
|
}
|
|
251752
251754
|
try {
|
|
251755
|
+
_this.scrollToBottom();
|
|
251753
251756
|
const data2 = JSON.parse(event2.data);
|
|
251754
251757
|
if (data2.event == "message_end") {
|
|
251755
251758
|
_this.doStop();
|
|
@@ -256314,6 +256317,7 @@ class AIBasicsInstance extends BaseInstance {
|
|
|
256314
256317
|
inputModel: this.inputModel.value,
|
|
256315
256318
|
chatContent: ""
|
|
256316
256319
|
});
|
|
256320
|
+
this.scrollToBottom();
|
|
256317
256321
|
await this.doRunAI();
|
|
256318
256322
|
this.inputModel.value = "";
|
|
256319
256323
|
});
|
|
@@ -256373,10 +256377,12 @@ class AIBasicsInstance extends BaseInstance {
|
|
|
256373
256377
|
}
|
|
256374
256378
|
}),
|
|
256375
256379
|
onmessage(event2) {
|
|
256380
|
+
_this.scrollToBottom();
|
|
256376
256381
|
if (_this.utilities.isNull(event2.data)) {
|
|
256377
256382
|
return;
|
|
256378
256383
|
}
|
|
256379
256384
|
try {
|
|
256385
|
+
_this.scrollToBottom();
|
|
256380
256386
|
const data2 = JSON.parse(event2.data);
|
|
256381
256387
|
if (data2.event == "message_end") {
|
|
256382
256388
|
_this.doStop();
|