(e *ai.LocalModelInstallState)
| 163 | } |
| 164 | |
| 165 | func (i *imlLocalModelInstallStateService) fromEntity(e *ai.LocalModelInstallState) *LocalModelInstallState { |
| 166 | return &LocalModelInstallState{ |
| 167 | Id: e.Uuid, |
| 168 | Complete: e.Complete, |
| 169 | Total: e.Total, |
| 170 | State: e.State, |
| 171 | Msg: e.LastMsg, |
| 172 | UpdateAt: e.UpdateAt, |
| 173 | } |
| 174 | } |
| 175 | |
| 176 | func (i *imlLocalModelInstallStateService) labelHandler(e *ai.LocalModelInstallState) []string { |
| 177 | return []string{e.Uuid} |
nothing calls this directly
no outgoing calls
no test coverage detected