MCPcopy
hub / github.com/mudler/LocalAI / Clear

Method Clear

core/cli/chat/session.go:56–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

54}
55
56func (s *chatSession) Clear() {
57 s.messages = nil
58}
59
60func (s *chatSession) SwitchModel(model string) error {
61 if !modelExists(s.models, model) {

Callers 5

SwitchModelMethod · 0.95
ClearTracesFunction · 0.45
ClearBackendLogsEndpointFunction · 0.45
runTerminalChatFunction · 0.45
ClearBackendTracesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected