WeKnora/internal/handler/session
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
..
REFACTORING_SUMMARY.md feat: Integrate Swiper library and enhance chat functionality 2025-11-09 00:02:31 +08:00
agent_stream_handler.go feat: Integrate Swiper library and enhance chat functionality 2025-11-09 00:02:31 +08:00
handler.go feat: Enhance MCP tools registration and management with context support 2025-11-11 02:47:38 +08:00
helpers.go feat: Integrate Swiper library and enhance chat functionality 2025-11-09 00:02:31 +08:00
qa.go feat: Enhance MCP tools registration and management with context support 2025-11-11 02:47:38 +08:00
stream.go feat: Integrate Swiper library and enhance chat functionality 2025-11-09 00:02:31 +08:00
title.go feat: Integrate Swiper library and enhance chat functionality 2025-11-09 00:02:31 +08:00
types.go feat: Add web search functionality and enhance agent mode integration 2025-11-10 03:14:12 +08:00