()
| 34 | } |
| 35 | |
| 36 | func (i *imlLocalModelService) OnComplete() { |
| 37 | i.IServiceGet = universally.NewGet[LocalModel, ai.LocalModel](i.store, i.fromEntity) |
| 38 | i.IServiceCreate = universally.NewCreator[CreateLocalModel, ai.LocalModel](i.store, "ai_local_model", i.createEntityHandler, i.uniquestHandler, i.labelHandler) |
| 39 | i.IServiceEdit = universally.NewEdit[EditLocalModel, ai.LocalModel](i.store, i.updateHandler, i.labelHandler) |
| 40 | i.IServiceDelete = universally.NewDelete[ai.LocalModel](i.store) |
| 41 | } |
| 42 | |
| 43 | func (i *imlLocalModelService) labelHandler(e *ai.LocalModel) []string { |
| 44 | return []string{e.Name} |
nothing calls this directly
no test coverage detected