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

Function ModelPath

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

Source from the content-addressed store, hash-verified

58}
59
60func ModelPath(modelPath string) ConfigLoaderOption {
61 return func(o *LoadOptions) {
62 o.modelPath = modelPath
63 }
64}
65
66func LoadOptionF16(f16 bool) ConfigLoaderOption {
67 return func(o *LoadOptions) {

Calls

no outgoing calls

Tested by

no test coverage detected