mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
empty kb id for templates (#1429)
### What problem does this PR solve? ### Type of change - [x] Refactoring
This commit is contained in:
@ -54,7 +54,7 @@ class RewriteQuestion(Generate, ABC):
|
||||
setattr(self, "_loop", 0)
|
||||
if self._loop >= self._param.loop:
|
||||
self._loop = 0
|
||||
raise Exception("Can't find relevant information.")
|
||||
raise Exception("Maximum loop time exceeds. Can't find relevant information.")
|
||||
self._loop += 1
|
||||
q = "Question: "
|
||||
for r, c in self._canvas.history[::-1]:
|
||||
|
||||
Reference in New Issue
Block a user