modify docSum output (#55)
Signed-off-by: Yue, Wenjiao <wenjiao.yue@intel.com>
This commit is contained in:
1
DocSum/ui/.env
Normal file
1
DocSum/ui/.env
Normal file
@@ -0,0 +1 @@
|
||||
BASIC_URL = 'http://x.x.x.x:yyyy'
|
||||
12
DocSum/ui/.gitignore
vendored
12
DocSum/ui/.gitignore
vendored
@@ -1,11 +1,5 @@
|
||||
.DS_Store
|
||||
node_modules
|
||||
*/node_modules
|
||||
/build
|
||||
/dist
|
||||
/.svelte-kit
|
||||
/package
|
||||
.env
|
||||
.env.*
|
||||
!.env.example
|
||||
vite.config.js.timestamp-*
|
||||
vite.config.ts.timestamp-*
|
||||
*/.svelte-kit
|
||||
|
||||
|
||||
@@ -31,8 +31,8 @@
|
||||
"@sveltejs/vite-plugin-svelte": "^3.0.0",
|
||||
"autoprefixer": "^10.4.16",
|
||||
"flowbite": "^2.3.0",
|
||||
"flowbite-svelte": "^0.44.24",
|
||||
"flowbite-svelte-icons": "^1.4.5",
|
||||
"flowbite-svelte": "^0.38.5",
|
||||
"flowbite-svelte-icons": "^1.4.0",
|
||||
"postcss": "^8.4.32",
|
||||
"postcss-load-config": "^5.0.2",
|
||||
"publint": "^0.1.9",
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<script lang="ts">
|
||||
import { Button, Helper, Input, Label, Modal } from "flowbite-svelte";
|
||||
import { ExclamationCircleOutline } from "flowbite-svelte-icons";
|
||||
import DropFile from "./DropFile.svelte";
|
||||
import DropFile from "./dropFile.svelte";
|
||||
import SpinLoading from "./assets/spinLoading.svelte";
|
||||
import { kb_id, loading } from "./shared/Store.js";
|
||||
import { Textarea } from "flowbite-svelte";
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
logs.forEach((log: { op: string; path: string; value: any }) => {
|
||||
if (log.op === "add") {
|
||||
if (
|
||||
log.path.endsWith("/streamed_output/-") && typeof log.value === "string"
|
||||
log.value !== "</s>" && log.path.endsWith("/streamed_output/-") && log.path.length > "/streamed_output/-".length
|
||||
) {
|
||||
messages += log.value;
|
||||
scrollToBottom(scrollToDiv)
|
||||
|
||||
Reference in New Issue
Block a user