(c *gin.Context)
| 65 | } |
| 66 | |
| 67 | func stopPull(c *gin.Context) { |
| 68 | model := c.Query("model") |
| 69 | StopPull(model) |
| 70 | c.JSON(http.StatusOK, gin.H{"message": "stop pull model"}) |
| 71 | } |
| 72 | |
| 73 | func models(c *gin.Context) { |
| 74 | ms, err := ModelsInstalled() |
nothing calls this directly
no test coverage detected