add rag config

This commit is contained in:
maojindao55
2025-06-20 11:34:24 +08:00
parent 904a4a9be7
commit 197f2e6373

View File

@@ -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
}),
});