MCPcopy Index your code
hub / github.com/mudler/LocalAI / WithJSONStringPreload

Function WithJSONStringPreload

core/config/application_config.go:619–623  ·  view source on GitHub ↗
(configFile string)

Source from the content-addressed store, hash-verified

617}
618
619func WithJSONStringPreload(configFile string) AppOption {
620 return func(o *ApplicationConfig) {
621 o.PreloadJSONModels = configFile
622 }
623}
624
625func WithConfigFile(configFile string) AppOption {
626 return func(o *ApplicationConfig) {

Callers 1

RunMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected