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

Method ListSteps

internal/requests/memory.go:81–89  ·  view source on GitHub ↗
(_ context.Context, requestID string)

Source from the content-addressed store, hash-verified

79}
80
81func (m *memoryStore) ListSteps(_ context.Context, requestID string) ([]StepRow, error) {
82 m.mu.RLock()
83 defer m.mu.RUnlock()
84 if _, ok := m.requests[requestID]; !ok {
85 return nil, ErrNotFound
86 }
87 out := slices.Clone(m.steps[requestID])
88 return out, nil
89}
90
91func (m *memoryStore) Close() error { return nil }
92

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected