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
Feat: Hide the download button embedded in the agent page. (#14083)
balibabu9a38af7cbfa8
diff --git a/web/src/components/next-message-item/group-button.tsx b/web/src/components/next-message-item/group-button.tsxindex 6c0620f75f..652ef3392c 100644--- a/web/src/components/next-message-item/group-button.tsx+++ b/web/src/components/next-message-item/group-button.tsx@@ -39,6 +39,7 @@ interface IProps {doc_id: string;format: string;};+ isShare?: boolean;}export const AssistantGroupButton = ({@@ -50,6 +51,7 @@ export const AssistantGroupButton = ({showLoudspeaker = true,showLog = true,attachment,+ isShare,}: IProps) => {const { visible, hideModal, showModal, onFeedbackOk, loading } =useSendFeedback(messageId);@@ -115,7 +117,7 @@ export const AssistantGroupButton = ({<NotebookText className="size-4" /></ToggleGroupItem>)}- {!!attachment?.doc_id && (+ {!!attachment?.doc_id && !isShare && (<ToggleGroupItemvalue="g"onClick={async () => {diff --git a/web/src/components/next-message-item/index.tsx b/web/src/components/next-message-item/index.tsxindex 853d87adbe..b9e1b32324 100644--- a/web/src/components/next-message-item/index.tsx+++ b/web/src/components/next-message-item/index.tsx@@ -246,6 +246,7 @@ function MessageItem({showLoudspeaker={showLoudspeaker}showLog={showLog}attachment={item.attachment}+ isShare={isShare}></AssistantGroupButton>)}{!isShare && (