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

Method Save

service/ai-local/iml.go:251–257  ·  view source on GitHub ↗
(ctx context.Context, model string, typ CacheType, target string)

Source from the content-addressed store, hash-verified

249}
250
251func (i *imlLocalModelCacheService) Save(ctx context.Context, model string, typ CacheType, target string) error {
252 return i.store.Insert(ctx, &ai.LocalModelCache{
253 Model: model,
254 Target: target,
255 Type: typ.Int(),
256 })
257}

Callers

nothing calls this directly

Calls 1

IntMethod · 0.45

Tested by

no test coverage detected