Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/mudler/LocalAI
/ CurrentModel
Method
CurrentModel
core/cli/chat/session.go:46–48 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
44
}
45
46
func
(s *chatSession) CurrentModel() string {
47
return
s.model
48
}
49
50
func
(s *chatSession) Models() []string {
51
models := make([]string, len(s.models))
Callers
2
session_test.go
File · 0.80
runTerminalChat
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected