From 5c6bf934166298bea01eb2b319386b1360ba5c27 Mon Sep 17 00:00:00 2001 From: iamsethsamuel Date: Tue, 26 Nov 2024 13:31:14 +0100 Subject: [PATCH 1/2] disenable AI code copy button --- libs/remix-ui/remix-ai/src/lib/components/Default.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/remix-ui/remix-ai/src/lib/components/Default.tsx b/libs/remix-ui/remix-ai/src/lib/components/Default.tsx index f8ac5506035..e238de2be5c 100644 --- a/libs/remix-ui/remix-ai/src/lib/components/Default.tsx +++ b/libs/remix-ui/remix-ai/src/lib/components/Default.tsx @@ -73,7 +73,7 @@ export const Default = (props) => { submitShortcut: 'Enter', hideStopButton: false, }} - messageOptions={{ showCodeBlockCopyButton: true, + messageOptions={{ showCodeBlockCopyButton: false, streamingAnimationSpeed: 2, waitTimeBeforeStreamCompletion: 1000, syntaxHighlighter: highlighter From e952b5b021f31b00c301a6250bae1d9071d9426c Mon Sep 17 00:00:00 2001 From: iamsethsamuel Date: Tue, 26 Nov 2024 13:31:43 +0100 Subject: [PATCH 2/2] user can edit promps --- libs/remix-ui/remix-ai/src/lib/components/Default.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/remix-ui/remix-ai/src/lib/components/Default.tsx b/libs/remix-ui/remix-ai/src/lib/components/Default.tsx index e238de2be5c..50a50d1e3d2 100644 --- a/libs/remix-ui/remix-ai/src/lib/components/Default.tsx +++ b/libs/remix-ui/remix-ai/src/lib/components/Default.tsx @@ -74,6 +74,7 @@ export const Default = (props) => { hideStopButton: false, }} messageOptions={{ showCodeBlockCopyButton: false, + editableUserMessages: true, streamingAnimationSpeed: 2, waitTimeBeforeStreamCompletion: 1000, syntaxHighlighter: highlighter