Skip to content

Commit

Permalink
remove file
Browse files Browse the repository at this point in the history
  • Loading branch information
Jicheng Lu committed Feb 21, 2024
1 parent f0c2535 commit 1f6d9d8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 52 deletions.
9 changes: 0 additions & 9 deletions src/routes/chat/[agentId]/[conversationId]/chat-box.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
import Swal from 'sweetalert2/dist/sweetalert2.js';
import "sweetalert2/src/sweetalert2.scss";
import moment from 'moment';
import RcDummy from './messageComponents/rc-dummy.svelte';
const options = {
scrollbars: {
Expand Down Expand Up @@ -177,13 +176,6 @@
/** @param {import('$types').ChatResponseModel} message */
function onMessageReceivedFromAssistant(message) {
// webSpeech.utter(message.text);
// clean rich content elements
dialogs.forEach(dialog => {
if (dialog.rich_content && dialog.rich_content.message.rich_type == "quick_reply") {
dialog.rich_content.message.quick_replies = [];
}
});
dialogs.push(message);
refresh();
}
Expand Down Expand Up @@ -612,7 +604,6 @@
<RcText message={message} />
{/if}
<!-- <RcDummy message={message} displayOptions={message.message_id === lastBotMsgId} onConfirm={confirmSelectedOption} /> -->
<ChatImage message={message} />
</div>
{/if}
Expand Down

This file was deleted.

0 comments on commit 1f6d9d8

Please sign in to comment.