yao/agent/search
Max aacb81fb52 Enhance Test Cases and Improve Parallel Search Logic
- Updated multiple test cases in `jsapi_test.go` to utilize `testutils.Prepare` and `testutils.Clean` for better test setup and teardown, ensuring a consistent testing environment.
- Refactored the `parallelAny` and `parallelRace` methods in `search.go` to improve goroutine management and result handling, reducing unnecessary locking and enhancing performance.
- Implemented checks to prevent goroutines from executing after a successful result is found, optimizing resource usage during parallel searches.
2025-12-20 16:46:54 +08:00
..
defaults Implement search configuration management and testing enhancements 2025-12-13 11:19:20 +08:00
handlers Refactor KB Search Handler and Update Test Cases 2025-12-20 14:43:00 +08:00
interfaces Implement Context-Aware Search Functionality and Enhance QueryDSL Generation 2025-12-18 11:49:28 +08:00
nlp Enhance Search Functionality with Keyword Extraction and Intent Detection 2025-12-18 20:16:56 +08:00
rerank Refactor Agent Response Handling to Use Structured Response Types 2025-12-18 17:32:49 +08:00
types Refactor KB Search Handler and Update Test Cases 2025-12-20 14:43:00 +08:00
citation.go Refactor Citation Handling and Enhance Search Result Storage 2025-12-15 17:17:51 +08:00
citation_test.go Refactor Citation Handling and Enhance Search Result Storage 2025-12-15 17:17:51 +08:00
DESIGN.md Enhance Search Result Storage and Intermediate Data Handling 2025-12-15 16:06:11 +08:00
jsapi.go Enhance Search API with New V8 Binding Methods 2025-12-13 16:11:30 +08:00
jsapi_db_test.go Refactor Test Files and Enhance Test Environment Initialization 2025-12-18 12:11:51 +08:00
jsapi_test.go Enhance Test Cases and Improve Parallel Search Logic 2025-12-20 16:46:54 +08:00
reference.go Refactor Citation Handling and Enhance Search Result Storage 2025-12-15 17:17:51 +08:00
reference_test.go Refactor Citation Handling and Enhance Search Result Storage 2025-12-15 17:17:51 +08:00
registry.go Implement search configuration management and testing enhancements 2025-12-13 11:19:20 +08:00
registry_test.go Enhance Search API with Parallel Search Methods 2025-12-13 15:35:52 +08:00
search.go Enhance Test Cases and Improve Parallel Search Logic 2025-12-20 16:46:54 +08:00
search_test.go Refactor Citation Handling and Enhance Search Result Storage 2025-12-15 17:17:51 +08:00
search_web_test.go Implement Core and AI Unit Testing in Makefile and CI Workflows 2025-12-15 09:34:53 +08:00