Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
188
func
(ml *ModelLoader) ExistsInModelPath(s string) bool {
189
return
utils.ExistsInPath(ml.ModelPath, s)
190
}
191
192
func
(ml *ModelLoader) SetExternalBackend(name, uri string) {
193
ml.mu.Lock()
Callers
2
CheckIfModelExists
Function · 0.80
loader_test.go
File · 0.80
Calls
1
ExistsInPath
Function · 0.92
Tested by
no test coverage detected