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

Function NewModelConfigLoader

core/config/model_config_loader.go:28–33  ·  view source on GitHub ↗
(modelPath string)

Source from the content-addressed store, hash-verified

26}
27
28func NewModelConfigLoader(modelPath string) *ModelConfigLoader {
29 return &ModelConfigLoader{
30 configs: make(map[string]ModelConfig),
31 modelPath: modelPath,
32 }
33}
34
35type LoadOptions struct {
36 modelPath string

Callers 15

request_test.goFile · 0.92
models_test.goFile · 0.92
vram_test.goFile · 0.92
edit_model_test.goFile · 0.92
aliases_test.goFile · 0.92

Calls

no outgoing calls

Tested by 1

newTestServiceFunction · 0.74