WeKnora/internal/agent/tools
wizardchen 2d9d930824 feat: Enhance MCP tools registration and management with context support
- Updated RegisterMCPTools and GetMCPToolsInfo functions to accept a context parameter, improving control over timeouts and cancellations.
- Implemented timeout handling for ListTools operations to prevent hanging during long-running requests.
- Enhanced GetFunctionDefinitions to include all MCP tools regardless of the allowed tools list, ensuring comprehensive tool access.
- Improved MCP service management by adding checks for service enabled state and critical configuration changes, ensuring robust client connection handling.
- Refactored session handling to utilize AgentModeEnabled for better session configuration management.
2025-11-11 02:47:38 +08:00
..
database_query.go feat: Add agent configuration and cleanup scripts for database migrations 2025-11-05 23:18:44 +08:00
definitions.go feat: Refactor tenant configuration management to use KV API 2025-11-10 20:11:45 +08:00
get_document_info.go feat: Add agent configuration and cleanup scripts for database migrations 2025-11-05 23:18:44 +08:00
get_related_chunks.go feat: Add agent configuration and cleanup scripts for database migrations 2025-11-05 23:18:44 +08:00
knowledge_search.go feat: Add agent configuration and cleanup scripts for database migrations 2025-11-05 23:18:44 +08:00
mcp_tool.go feat: Enhance MCP tools registration and management with context support 2025-11-11 02:47:38 +08:00
query_knowledge_graph.go feat: Add agent configuration and cleanup scripts for database migrations 2025-11-05 23:18:44 +08:00
registry.go feat: Enhance MCP tools registration and management with context support 2025-11-11 02:47:38 +08:00
thinking.go feat: Add agent configuration and cleanup scripts for database migrations 2025-11-05 23:18:44 +08:00
todo_write.go feat: Integrate Swiper library and enhance chat functionality 2025-11-09 00:02:31 +08:00
tool.go feat: Add agent configuration and cleanup scripts for database migrations 2025-11-05 23:18:44 +08:00