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(web): hide ingestion canvas test run button on Go backend (#19977)
jay7772115390e731f89
diff --git a/web/src/pages/agent/index.tsx b/web/src/pages/agent/index.tsxindex fa9f0f2e5e..7f44722735 100644--- a/web/src/pages/agent/index.tsx+++ b/web/src/pages/agent/index.tsx@@ -111,6 +111,9 @@ export default function Agent() {// canvas on the golang backend — an agent canvas runs the agent, not an// ingestion debug preview, so it must never show this tooltip.const runTooltipKey = debugRunLimitsTooltipKey(isGoBackend, isPipeline);+ // The golang backend's ingestion (dataflow) canvas hides the Run/test-run+ // entry entirely; the agent canvas keeps its Run button on both backends.+ const showRunButton = !(isGoBackend && isPipeline);const { handleExportJson } = useHandleExportJsonFile();const { saveGraph, loading } = useSaveGraph();@@ -306,11 +309,12 @@ export default function Agent() {><LaptopMinimalCheck /> {t('flow.save')}</ButtonLoading>- {runTooltipKey ? (- <RunTooltip tooltip={runTooltipKey}>{runButton}</RunTooltip>- ) : (- runButton- )}+ {showRunButton &&+ (runTooltipKey ? (+ <RunTooltip tooltip={runTooltipKey}>{runButton}</RunTooltip>+ ) : (+ runButton+ ))}{isConversationMode && (<Buttonvariant={'secondary'}