fixed cancel button

This commit is contained in:
Saifeddine ALOUI 2024-02-20 00:25:03 +01:00
parent 607e27d716
commit 10e2f3f3ff
5 changed files with 211 additions and 210 deletions

@ -1 +1 @@
Subproject commit 2fb9f3908249119edfe9b5bbd440d3afc0efc100 Subproject commit 4141260697c607a3377c067801361c149d56c07f

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

4
web/dist/index.html vendored
View File

@ -6,8 +6,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LoLLMS WebUI - Welcome</title> <title>LoLLMS WebUI - Welcome</title>
<script type="module" crossorigin src="/assets/index-94f249ad.js"></script> <script type="module" crossorigin src="/assets/index-5491c30d.js"></script>
<link rel="stylesheet" href="/assets/index-55148c7c.css"> <link rel="stylesheet" href="/assets/index-b27f3359.css">
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>

View File

@ -1279,6 +1279,7 @@ export default {
messageItem.finished_generating_at = msgObj.finished_generating_at messageItem.finished_generating_at = msgObj.finished_generating_at
} }
else if(messageItem && msgObj.message_type==this.msgTypes.MSG_TYPE_CHUNK){ else if(messageItem && msgObj.message_type==this.msgTypes.MSG_TYPE_CHUNK){
this.isGenerating = true;
messageItem.content += msgObj.content messageItem.content += msgObj.content
} else if (msgObj.message_type == this.msgTypes.MSG_TYPE_STEP){ } else if (msgObj.message_type == this.msgTypes.MSG_TYPE_STEP){
messageItem.status_message = msgObj.content messageItem.status_message = msgObj.content