-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: When using the API to call RAgFlow, the error frequently occurs: ERROR: division by zero. #4622
Comments
Which API? |
Below is the Docker error log.2025-01-24 13:45:37,306 INFO 17 POST http://es01:9200/ragflow_6f16c442d88111ef901d0242ac140006/_search [status:200 duration:0.016s] Below is the information returned by calling the API using Postman.{ |
Some issues can output results when calling the API, while others return ERROR: \nERROR: division by zero. |
Through the debugging just now, I seem to have identified the cause. It appears that the returned text is too long. When displayed on the page, it shows something like: |
### What problem does this PR solve? #4622 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
Is there an existing issue for the same bug?
RAGFlow workspace code commit ID
0fd13b34d9ee11ef93aa0242ac140006
RAGFlow image version
V15.1
Other environment information
Actual behavior
When directly asking on the platform, there is an answer, but when using an external API, there is no answer.
Expected behavior
No response
Steps to reproduce
Additional information
No response
The text was updated successfully, but these errors were encountered: