Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/mudler/LocalAI
/ Models
Method
Models
core/cli/chat/session.go:50–54 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
48
}
49
50
func
(s *chatSession) Models() []string {
51
models := make([]string, len(s.models))
52
copy(models, s.models)
53
return
models
54
}
55
56
func
(s *chatSession) Clear() {
57
s.messages = nil
Callers
1
runTerminalChat
Function · 0.80
Calls
1
copy
Function · 0.50
Tested by
no test coverage detected