MCPcopy Create free account
hub / github.com/InferCore/InferCore / RecordCompletion

Method RecordCompletion

internal/slo/memory_engine.go:63–69  ·  view source on GitHub ↗
(requestID string, ts time.Time)

Source from the content-addressed store, hash-verified

61}
62
63func (e *MemoryEngine) RecordCompletion(requestID string, ts time.Time) {
64 e.mu.Lock()
65 defer e.mu.Unlock()
66 rec := e.ensureRecord(requestID)
67 rec.endTime = ts
68 e.evictLocked()
69}
70
71func (e *MemoryEngine) RecordFallback(requestID string, _ string) {
72 e.mu.Lock()

Calls 2

ensureRecordMethod · 0.95
evictLockedMethod · 0.95

Tested by 1