From 15e80423e14f3ebdbe06ddeebf51c653b70d8fb1 Mon Sep 17 00:00:00 2001 From: Alexey Koshelev Date: Mon, 14 Apr 2025 15:56:48 +0300 Subject: [PATCH] Disabled attached text --- sdkjs-plugins/content/ai/scripts/chat.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sdkjs-plugins/content/ai/scripts/chat.js b/sdkjs-plugins/content/ai/scripts/chat.js index bbc43993..9afc2bd3 100644 --- a/sdkjs-plugins/content/ai/scripts/chat.js +++ b/sdkjs-plugins/content/ai/scripts/chat.js @@ -70,7 +70,8 @@ let plainText = htmlContent.replace(/<\/?[^>]+(>|$)/g, "").replace(/\n{3,}/g, "\n\n"); if(item.role == 'user') { - if(item.attachedText) { + // TODO: For a future release. + if(false && item.attachedText) { $attachedWrapper = $( '