RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
fix: update channelTemplates to filter for Discord and Lark only (#16065)
chanxa15e667b3cb2
diff --git a/web/src/pages/dataflow-result/components/parse-editer/json-parser.tsx b/web/src/pages/dataflow-result/components/parse-editer/json-parser.tsxindex 24e8541aad..92f79bfc0c 100644--- a/web/src/pages/dataflow-result/components/parse-editer/json-parser.tsx+++ b/web/src/pages/dataflow-result/components/parse-editer/json-parser.tsx@@ -81,7 +81,9 @@ export const ArrayContainer = (props: IJsonContainerProps) => {{isArray(content.value) &&content.value?.map((item, index) => {if (- item[parserKeyMap[content.key as keyof typeof parserKeyMap]] === ''+ item[parserKeyMap[content.key as keyof typeof parserKeyMap]] ===+ '' ||+ !item[parserKey]) {return null;}diff --git a/web/src/pages/user-setting/chat-channel/index.tsx b/web/src/pages/user-setting/chat-channel/index.tsxindex 354d8c15c6..4a538f7cff 100644--- a/web/src/pages/user-setting/chat-channel/index.tsx+++ b/web/src/pages/user-setting/chat-channel/index.tsx@@ -56,14 +56,16 @@ const AvailableChannelCard = ({const ChatChannel = () => {const { t } = useTranslation();const { chatChannelInfo } = useChatChannelInfo();- const channelTemplates: IChatChannelInfo[] = Object.values(- ChatChannelKey,- ).map((id) => ({- id,- name: chatChannelInfo[id].name,- description: chatChannelInfo[id].description,- icon: chatChannelInfo[id].icon,- }));+ const channelTemplates: IChatChannelInfo[] = Object.values(ChatChannelKey)+ .filter(+ (id) => [ChatChannelKey.DISCORD, ChatChannelKey.FEISHU].includes(id), // Show only Discord and Feishu+ )+ .map((id) => ({+ id,+ name: chatChannelInfo[id].name,+ description: chatChannelInfo[id].description,+ icon: chatChannelInfo[id].icon,+ }));const { categorizedList } = useListChatChannel();