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

Function LoadOptionContextSize

core/config/model_config_loader.go:54–58  ·  view source on GitHub ↗
(ctxSize int)

Source from the content-addressed store, hash-verified

52}
53
54func LoadOptionContextSize(ctxSize int) ConfigLoaderOption {
55 return func(o *LoadOptions) {
56 o.ctxSize = ctxSize
57 }
58}
59
60func ModelPath(modelPath string) ConfigLoaderOption {
61 return func(o *LoadOptions) {

Calls

no outgoing calls

Tested by

no test coverage detected