LocalModelManager handles model install/delete on the local instance.
| 12 | |
| 13 | // LocalModelManager handles model install/delete on the local instance. |
| 14 | type LocalModelManager struct { |
| 15 | systemState *system.SystemState |
| 16 | modelLoader *model.ModelLoader |
| 17 | enforcePredownloadScans bool |
| 18 | automaticallyInstallBackend bool |
| 19 | requireBackendIntegrity bool |
| 20 | } |
| 21 | |
| 22 | // NewLocalModelManager creates a LocalModelManager from the application config. |
| 23 | func NewLocalModelManager(appConfig *config.ApplicationConfig, ml *model.ModelLoader) *LocalModelManager { |
nothing calls this directly
no outgoing calls
no test coverage detected