From 86088a348c8a493c513dcaa6a5a32cb7618c142c Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Sun, 5 Nov 2023 00:57:04 +0800 Subject: [PATCH] refactor: add \n in ai-assistant plugin call summary message --- client/web/plugins/com.msgbyte.ai-assistant/src/popover.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/web/plugins/com.msgbyte.ai-assistant/src/popover.tsx b/client/web/plugins/com.msgbyte.ai-assistant/src/popover.tsx index 885ae6f9c14..d139cf8ae69 100644 --- a/client/web/plugins/com.msgbyte.ai-assistant/src/popover.tsx +++ b/client/web/plugins/com.msgbyte.ai-assistant/src/popover.tsx @@ -160,7 +160,7 @@ export const AssistantPopover: React.FC<{ ) ).join('\n'); - handleCallAI(summaryMessagesPrompt + plainMessages); + handleCallAI(summaryMessagesPrompt + '\n' + plainMessages); }} > {Translate.summaryMessages}