Skip to content

Commit f453d9b

Browse files
author
Jicheng Lu
committed
clean code
1 parent 327f8e6 commit f453d9b

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

src/lib/helpers/types/conversationTypes.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@ IRichContent.prototype.language;
168168
* @property {boolean} has_message_files
169169
* @property {boolean} is_chat_message
170170
* @property {boolean} is_streaming
171-
* @property {boolean} is_append
172171
* @property {string} [indication]
173172
*/
174173

src/routes/chat/[agentId]/[conversationId]/chat-box.svelte

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,6 @@
522522
if (!message.is_streaming) {
523523
if (dialogs[dialogs.length - 1]?.message_id === message.message_id
524524
&& dialogs[dialogs.length - 1]?.sender?.role === UserRole.Assistant
525-
&& !message.is_append
526525
) {
527526
dialogs[dialogs.length - 1] = {
528527
...message,

0 commit comments

Comments
 (0)