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

Method ExistsInModelPath

pkg/model/loader.go:188–190  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

186}
187
188func (ml *ModelLoader) ExistsInModelPath(s string) bool {
189 return utils.ExistsInPath(ml.ModelPath, s)
190}
191
192func (ml *ModelLoader) SetExternalBackend(name, uri string) {
193 ml.mu.Lock()

Callers 2

CheckIfModelExistsFunction · 0.80
loader_test.goFile · 0.80

Calls 1

ExistsInPathFunction · 0.92

Tested by

no test coverage detected