(ctx *gin.Context, model string)
| 108 | } |
| 109 | |
| 110 | func (i *imlLocalModelController) State(ctx *gin.Context, model string) (*ai_local_dto.DeployState, *ai_local_dto.ModelInfo, error) { |
| 111 | return i.module.ModelState(ctx, model) |
| 112 | } |
| 113 | |
| 114 | // 自动选择合适的单位 |
| 115 | func humanReadableSize(size int64) string { |
nothing calls this directly
no test coverage detected