MCPcopy
hub / github.com/mudler/LocalAI / LocalModelManager

Struct LocalModelManager

core/services/galleryop/managers_local.go:14–20  ·  view source on GitHub ↗

LocalModelManager handles model install/delete on the local instance.

Source from the content-addressed store, hash-verified

12
13// LocalModelManager handles model install/delete on the local instance.
14type 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.
23func NewLocalModelManager(appConfig *config.ApplicationConfig, ml *model.ModelLoader) *LocalModelManager {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected