ragflow/web/src/pages/add-knowledge/components/knowledge-testing
cutiechi 789ae87727
Fix: Prevent Duplicate Retrieval Requests on Knowledge Testing (#8683)
### What problem does this PR solve?

Previously, when testing knowledge retrieval and clicking the test
button, the component would trigger two API requests instead of one.
This led to redundant network calls and inconsistent results being
displayed.

Before:


![image](https://github.com/user-attachments/assets/530d9a97-04f7-4db4-8489-0a7b67c78194)

After:


![image](https://github.com/user-attachments/assets/d17caf18-a6b1-46bc-b077-d81de0a73818)


### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2025-07-07 13:07:34 +08:00
..
testing-control Fix: File selection in Retrieval testing causes other options to disappear (#7759) 2025-05-30 09:38:50 +08:00
testing-result Fix: Prevent Duplicate Retrieval Requests on Knowledge Testing (#8683) 2025-07-07 13:07:34 +08:00
index.less Theme switch support (#3568) 2024-12-10 11:42:04 +08:00
index.tsx Fix: Prevent Duplicate Retrieval Requests on Knowledge Testing (#8683) 2025-07-07 13:07:34 +08:00