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

Function getBuildAgeMinutes

src/services/api/logging.ts:173–178  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

171}
172
173function getBuildAgeMinutes(): number | undefined {
174 if (!MACRO.BUILD_TIME) return undefined
175 const buildTime = new Date(MACRO.BUILD_TIME).getTime()
176 if (isNaN(buildTime)) return undefined
177 return Math.floor((Date.now() - buildTime) / 60000)
178}
179
180export function logAPIQuery({
181 model,

Callers 2

logAPIQueryFunction · 0.85
logAPISuccessFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected