MCPcopy Index your code
hub / github.com/APIParkLab/APIPark / imlLocalModelCacheService

Struct imlLocalModelCacheService

service/ai-local/iml.go:213–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211var _ ILocalModelCacheService = &imlLocalModelCacheService{}
212
213type imlLocalModelCacheService struct {
214 store ai.ILocalModelCacheStore `autowired:""`
215}
216
217func (i *imlLocalModelCacheService) GetByTarget(ctx context.Context, typ CacheType, target string) (*LocalModelCache, error) {
218 item, err := i.store.First(ctx, map[string]interface{}{"target": target, "type": typ.Int()})

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected