diff --git a/package-lock.json b/package-lock.json index bdc6ddec..a537e3bc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -35,6 +35,7 @@ "sherpa-onnx": "^1.13.2", "socket.io-client": "^4.7.5", "unified": "^11.0.5", + "virtua": "^0.49.3", "vue": "^3.4.15", "vue-stick-to-bottom": "^1.0.0", "xterm": "^5.3.0" @@ -7463,6 +7464,36 @@ "url": "https://opencollective.com/unified" } }, + "node_modules/virtua": { + "version": "0.49.3", + "resolved": "https://registry.npmjs.org/virtua/-/virtua-0.49.3.tgz", + "integrity": "sha512-k1Yn988Vz/L40uDtEWPjfdVo15Suumh4tU4/z5Srs0elNcU9DgBskqdh3llpHyAlXrCeHWTfcclYvY1uU4MmIg==", + "license": "MIT", + "peerDependencies": { + "react": ">=16.14.0", + "react-dom": ">=16.14.0", + "solid-js": ">=1.0", + "svelte": ">=5.0", + "vue": ">=3.2" + }, + "peerDependenciesMeta": { + "react": { + "optional": true + }, + "react-dom": { + "optional": true + }, + "solid-js": { + "optional": true + }, + "svelte": { + "optional": true + }, + "vue": { + "optional": true + } + } + }, "node_modules/vite": { "version": "5.4.21", "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.21.tgz", diff --git a/package.json b/package.json index 1361df58..89101463 100644 --- a/package.json +++ b/package.json @@ -42,6 +42,7 @@ "sherpa-onnx": "^1.13.2", "socket.io-client": "^4.7.5", "unified": "^11.0.5", + "virtua": "^0.49.3", "vue": "^3.4.15", "vue-stick-to-bottom": "^1.0.0", "xterm": "^5.3.0" diff --git a/static/src/components/chat/ChatArea.vue b/static/src/components/chat/ChatArea.vue index 1edb7e89..2cd68160 100644 --- a/static/src/components/chat/ChatArea.vue +++ b/static/src/components/chat/ChatArea.vue @@ -5,15 +5,24 @@ ref="scrollRef" >
+ + +
-
+
+ +
@@ -682,6 +682,7 @@