ragflow/web
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
..
.husky feat: format code before submitting it #1251 (#1252) 2024-06-24 14:48:21 +08:00
public Feat: Add SwitchForm component #3221 (#8200) 2025-06-12 09:50:25 +08:00
src Fix: Prevent Duplicate Retrieval Requests on Knowledge Testing (#8683) 2025-07-07 13:07:34 +08:00
.env feat: Support for conversational streaming (#809) 2024-05-16 20:15:02 +08:00
.eslintrc.js feat: set chunk to available state and select all chunk (#57) 2024-02-06 18:45:20 +08:00
.gitignore Format file format from Windows/dos to Unix (#1949) 2024-08-15 09:17:36 +08:00
.npmrc Fix: Limit node version #3547 (#3563) 2024-11-21 18:14:22 +08:00
.prettierignore feat: install prettier to format code and add react-dev-inspector to locate code in the IDE faster (#44) 2024-01-29 15:02:27 +08:00
.prettierrc Feat: Add background to next login page #3221 (#4474) 2025-01-14 13:43:18 +08:00
.umirc.ts Feat: The value selected in the Select component only displays the icon #3221 (#8209) 2025-06-12 12:31:57 +08:00
externals.d.ts fix: cannot save the system model setting #468 (#508) 2024-04-23 17:46:56 +08:00
jest-setup.ts feat: test buildNodesAndEdgesFromDSLComponents (#940) 2024-05-27 19:35:14 +08:00
jest.config.ts feat: test buildNodesAndEdgesFromDSLComponents (#940) 2024-05-27 19:35:14 +08:00
package-lock.json Feat: Fixed the issue where the prompt menu content was hidden #3221 (#8530) 2025-06-27 12:11:29 +08:00
package.json Feat: Fixed the issue where the prompt menu content was hidden #3221 (#8530) 2025-06-27 12:11:29 +08:00
tailwind.config.js Feat: Fixed the issue where the prompt menu content was hidden #3221 (#8530) 2025-06-27 12:11:29 +08:00
tailwind.css Feat: Display agent operator call log #3221 (#8169) 2025-06-11 09:22:07 +08:00
tsconfig.json feat: Configure the root directory alias #1739 (#2875) 2024-10-17 11:36:01 +08:00
typings.d.ts Feat: Add FilesTable #3221 (#4491) 2025-01-15 14:39:33 +08:00