Commit Graph
1 Commits
Author SHA1 Message Date
Ngo Quoc Viet 9dc3a5bfba fix(cli): count benchmark application failures (#18292)
### Summary

The CLI benchmark treated every HTTP 200 response as successful, even
when the RAGFlow response envelope reported a non-zero application code.
This caused failed API calls to inflate the benchmark success count.

- classify benchmark responses using both HTTP status and the response
envelope code
- preserve successful plain-text HTTP 200 endpoints such as ping
- cover HTTP 200 application failures with an in-process HTTP regression
test
2026-08-21 20:31:52 +08:00