MCPcopy
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
50func (s *chatSession) Models() []string {
51 models := make([]string, len(s.models))
52 copy(models, s.models)
53 return models
54}
55
56func (s *chatSession) Clear() {
57 s.messages = nil

Callers 1

runTerminalChatFunction · 0.80

Calls 1

copyFunction · 0.50

Tested by

no test coverage detected