(ctx context.Context, model string, typ CacheType, target string)
| 249 | } |
| 250 | |
| 251 | func (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 | } |