mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-11 22:08:57 +08:00
refine the warning message for rewrite component (#2429)
### What problem does this PR solve? ### Type of change - [x] Performance Improvement
This commit is contained in:
parent
99a7c0fb97
commit
d3262ca378
@ -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 += 1
|
||||
q = "Question: "
|
||||
for r, c in self._canvas.history[::-1]:
|
||||
|
Loading…
x
Reference in New Issue
Block a user