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
refine the warning message for rewrite component (#2429)
Kevin Hud3262ca3783d
diff --git a/agent/component/rewrite.py b/agent/component/rewrite.pyindex 614168291d..84eb73e001 100644--- a/agent/component/rewrite.py+++ b/agent/component/rewrite.py@@ -54,7 +54,7 @@ class RewriteQuestion(Generate, ABC):setattr(self, "_loop", 0)if self._loop >= self._param.loop:self._loop = 0- raise Exception("Maximum loop time exceeds. Can't find relevant information.")+ raise Exception("Sorry! Nothing relevant found.")self._loop += 1q = "Question: "for r, c in self._canvas.history[::-1]: