From 197f2e637313b7a503b5bad316da61d528628043 Mon Sep 17 00:00:00 2001 From: maojindao55 Date: Fri, 20 Jun 2025 11:34:24 +0800 Subject: [PATCH] add rag config --- src/pages/chat/components/ChatUI.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/chat/components/ChatUI.tsx b/src/pages/chat/components/ChatUI.tsx index 6fbf749..c638649 100644 --- a/src/pages/chat/components/ChatUI.tsx +++ b/src/pages/chat/components/ChatUI.tsx @@ -281,6 +281,7 @@ const ChatUI = () => { history: messageHistory, index: i, aiName: selectedGroupAiCharacters[i].name, + rag: selectedGroupAiCharacters[i].rag, custom_prompt: selectedGroupAiCharacters[i].custom_prompt.replace('#groupName#', group.name) + "\n" + group.description }), });