- 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. |
||
|---|---|---|
| .. | ||
| session | ||
| auth.go | ||
| chunk.go | ||
| evaluation.go | ||
| initialization.go | ||
| knowledge.go | ||
| knowledgebase.go | ||
| mcp_service.go | ||
| message.go | ||
| model.go | ||
| system.go | ||
| tenant.go | ||
| web_search.go | ||