MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / State

Method State

controller/ai-local/iml.go:110–112  ·  view source on GitHub ↗
(ctx *gin.Context, model string)

Source from the content-addressed store, hash-verified

108}
109
110func (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// 自动选择合适的单位
115func humanReadableSize(size int64) string {

Callers

nothing calls this directly

Calls 1

ModelStateMethod · 0.65

Tested by

no test coverage detected