(ctx context.Context, address string)
| 57 | } |
| 58 | |
| 59 | func (i *imlLocalModel) SyncLocalModels(ctx context.Context, address string) error { |
| 60 | releases, err := i.getLocalModels(ctx, address) |
| 61 | if err != nil { |
| 62 | return err |
| 63 | } |
| 64 | |
| 65 | return i.syncGateway(ctx, cluster.DefaultClusterID, releases, true) |
| 66 | } |
| 67 | |
| 68 | func (i *imlLocalModel) SimpleList(ctx context.Context) ([]*ai_local_dto.SimpleItem, error) { |
| 69 | list, err := i.localModelService.List(ctx) |
nothing calls this directly
no test coverage detected