yao/agent/assistant
Max b63f3fe246 Refactor KB Search Handler and Update Test Cases
- Enhanced the KB search handler to utilize the KB API for executing search queries, improving search accuracy and performance.
- Implemented authorization checks for collections in the search requests, ensuring only accessible collections are queried.
- Updated the search request structure to include metadata filtering capabilities, allowing for more refined search results.
- Refactored unit tests to validate new search functionalities, including threshold handling and collection initialization checks, ensuring robust test coverage.
- Adjusted the Makefile to streamline test coverage reporting and updated GitHub Actions workflows to include Codecov integration for better visibility on test coverage metrics.
2025-12-20 14:43:00 +08:00
..
handlers Enhance chat buffer and streaming message handling 2025-12-09 18:08:12 +08:00
hook Enhance assistant initialization and context management 2025-12-11 15:17:17 +08:00
agent.go Enhance Search Functionality with Keyword Extraction and Intent Detection 2025-12-18 20:16:56 +08:00
agent_interrupt_test.go Enhance assistant initialization and context management 2025-12-11 15:17:17 +08:00
agent_next_test.go Refactor Agent Response Handling to Use Structured Response Types 2025-12-18 17:32:49 +08:00
assistant.go Refactor Agent Response Handling to Use Structured Response Types 2025-12-18 17:32:49 +08:00
build.go Implement search configuration management and testing enhancements 2025-12-13 11:19:20 +08:00
build_content.go Enhance content processing with forceUses configuration 2025-12-06 17:38:21 +08:00
build_mcp_test.go Refactor Assistant script handling to use HookScript 2025-12-05 14:45:09 +08:00
build_prompts_test.go Enhance assistant initialization and context management 2025-12-11 15:17:17 +08:00
build_test.go Enhance assistant initialization and context management 2025-12-11 15:17:17 +08:00
cache.go Enhance Assistant Search Functionality and Cache Management 2025-12-16 16:44:35 +08:00
cache_test.go Refactor Assistant cache tests and enhance cache functionality 2025-12-05 19:49:44 +08:00
chat.go Enhance assistant initialization and context management 2025-12-11 15:17:17 +08:00
chat_test.go Enhance assistant initialization and context management 2025-12-11 15:17:17 +08:00
history.go Enhance assistant initialization and context management 2025-12-11 15:17:17 +08:00
history_test.go Refactor history loading tests and context management 2025-12-11 15:32:06 +08:00
llm.go Enhance assistant initialization and context management 2025-12-11 15:17:17 +08:00
load.go Update Assistant Package Descriptions and Configuration 2025-12-16 17:41:30 +08:00
load_merge_test.go Implement search configuration management and testing enhancements 2025-12-13 11:19:20 +08:00
load_process_test.go Refactor Assistant cache tests and enhance cache functionality 2025-12-05 19:49:44 +08:00
load_store_test.go Implement search configuration management and testing enhancements 2025-12-13 11:19:20 +08:00
load_system.go Enhance Assistant Search Functionality and Cache Management 2025-12-16 16:44:35 +08:00
load_test.go Update Test Assertions for System Agents Naming Consistency 2025-12-16 17:59:38 +08:00
mcp.go Enhance assistant initialization and context management 2025-12-11 15:17:17 +08:00
mcp_test.go Enhance context handling in MCP tests and JS API 2025-12-05 20:20:21 +08:00
next.go Refactor Agent Response Handling to Use Structured Response Types 2025-12-18 17:32:49 +08:00
permission.go Enhance Assistant stream functionality and remove history handling 2025-12-08 10:28:26 +08:00
scripts.go Implement authorized script execution and enhance context handling 2025-12-08 11:42:01 +08:00
scripts_process_test.go Refactor Assistant cache tests and enhance cache functionality 2025-12-05 19:49:44 +08:00
scripts_test.go Implement authorized script execution and enhance context handling 2025-12-08 11:42:01 +08:00
search.go Refactor KB Search Handler and Update Test Cases 2025-12-20 14:43:00 +08:00
search_auth_db.go Refactor KB Search Handler and Update Test Cases 2025-12-20 14:43:00 +08:00
search_auth_integration_test.go Refactor KB Search Handler and Update Test Cases 2025-12-20 14:43:00 +08:00
search_auth_kb.go Refactor KB Search Handler and Update Test Cases 2025-12-20 14:43:00 +08:00
search_auto_disabled_test.go Refactor Agent Response Handling to Use Structured Response Types 2025-12-18 17:32:49 +08:00
search_auto_full_test.go Refactor Agent Response Handling to Use Structured Response Types 2025-12-18 17:32:49 +08:00
search_auto_hook_disable_test.go Refactor Agent Response Handling to Use Structured Response Types 2025-12-18 17:32:49 +08:00
search_auto_keyword_test.go Refactor Agent Response Handling to Use Structured Response Types 2025-12-18 17:32:49 +08:00
search_auto_web_test.go Refactor Agent Response Handling to Use Structured Response Types 2025-12-18 17:32:49 +08:00
source.go Add GetStorage function and enhance loadSource logic 2025-12-02 16:54:57 +08:00
trace.go Refactor model capabilities to use OpenAI struct 2025-12-02 11:33:09 +08:00
types.go Enhance Search Functionality with Keyword Extraction and Intent Detection 2025-12-18 20:16:56 +08:00
utils.go Refactor assistant handling and storage integration 2025-11-07 11:20:59 +08:00