mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-02-03 09:05:07 +08:00
Fix RAGFlow CLI bug (#12811)
### What problem does this PR solve? As title ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
@ -673,7 +673,7 @@ class RAGFlowClient:
|
|||||||
|
|
||||||
iterations = command.get("iterations", 1)
|
iterations = command.get("iterations", 1)
|
||||||
if iterations > 1:
|
if iterations > 1:
|
||||||
response = self.http_client.request("POST", "/dialog/next", use_api_base=False, auth_kind="web",
|
response = self.http_client.request("POST", "/kb/list", use_api_base=False, auth_kind="web",
|
||||||
iterations=iterations)
|
iterations=iterations)
|
||||||
return response
|
return response
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user