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

Function WithBackendString

pkg/model/loader_options.go:56–60  ·  view source on GitHub ↗
(backend string)

Source from the content-addressed store, hash-verified

54}
55
56func WithBackendString(backend string) Option {
57 return func(o *Options) {
58 o.backendString = backend
59 }
60}
61
62func WithDefaultBackendString(backend string) Option {
63 return func(o *Options) {

Callers 12

RealtimeCallsFunction · 0.92
ModelOptionsFunction · 0.92
StoreBackendFunction · 0.92
StartJobMethod · 0.92
StreamProgressMethod · 0.92
StartJobMethod · 0.92
StreamProgressMethod · 0.92
ListCheckpointsMethod · 0.92
ExportModelMethod · 0.92
stores_test.goFile · 0.92
LoadMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected