Skip to content

Commit

Permalink
activate text area
Browse files Browse the repository at this point in the history
  • Loading branch information
Jicheng Lu committed Oct 23, 2024
1 parent ea71e40 commit 606a729
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes/chat/[agentId]/[conversationId]/chat-box.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,8 @@
let isError = false;
$: {
const editor = lastBotMsg?.rich_content?.editor || '';
loadTextEditor = TEXT_EDITORS.includes(editor) || !Object.values(EditorType).includes(editor);
// const editor = lastBotMsg?.rich_content?.editor || '';
loadTextEditor = true; // TEXT_EDITORS.includes(editor) || !Object.values(EditorType).includes(editor);
loadEditor = !isSendingMsg && !isThinking && loadTextEditor;
}
Expand Down

0 comments on commit 606a729

Please sign in to comment.