MCPcopy Create free account
hub / github.com/Noumena-Network/code / getLastApiRequests

Function getLastApiRequests

src/services/api/dumpPrompts.ts:31–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29const disabledDumpPromptPaths = new Set<string>()
30
31export function getLastApiRequests(): Array<{
32 timestamp: string
33 request: unknown
34}> {
35 return [...cachedApiRequests]
36}
37
38export function clearApiRequestCache(): void {
39 cachedApiRequests.length = 0

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected