MCPcopy Index your code
hub / github.com/mudler/LocalAI / ClearBackendTraces

Function ClearBackendTraces

core/trace/backend_trace.go:179–185  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

177}
178
179func ClearBackendTraces() {
180 backendMu.Lock()
181 if backendTraceBuffer != nil {
182 backendTraceBuffer.Clear()
183 }
184 backendMu.Unlock()
185}
186
187func GenerateLLMSummary(messages schema.Messages, prompt string) string {
188 if len(messages) > 0 {

Calls 3

LockMethod · 0.65
UnlockMethod · 0.65
ClearMethod · 0.45

Tested by

no test coverage detected