mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-15 21:16:03 +08:00
@@ -370,7 +370,8 @@ func (h *MCPHandler) TestMCPServer(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
tools, err := h.mcpService.TestServer(mcpID, &req)
|
||||
ctx := c.Request.Context()
|
||||
tools, err := h.mcpService.TestServer(ctx, mcpID, &req)
|
||||
if mcpErrorResponse(c, err) {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user