MCPcopy
hub / github.com/TanStack/ai / now

Method now

packages/ai-sandbox/src/run-log.ts:115–117  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

113 private readonly runs = new Map<string, RunState>()
114
115 private now(): number {
116 return Date.now()
117 }
118
119 private require(runId: string): RunState {
120 const state = this.runs.get(runId)

Callers 15

openMethod · 0.95
appendMethod · 0.95
finishMethod · 0.95
mainFunction · 0.80
createCodeModeToolFunction · 0.80
createEventAwareBindingsFunction · 0.80
chatStreamFunction · 0.80
structuredOutputStreamFunction · 0.80
processStreamChunksFunction · 0.80
chatStreamFunction · 0.80
structuredOutputStreamFunction · 0.80
processStreamChunksFunction · 0.80

Calls

no outgoing calls

Tested by 15

createGenerationChunksFunction · 0.64
createVideoChunksFunction · 0.64
createErrorChunksFunction · 0.64
createGenerationChunksFunction · 0.64
createVideoChunksFunction · 0.64
createErrorChunksFunction · 0.64
errorStreamFunction · 0.64
textTurnFunction · 0.64
chunkFunction · 0.64
makeChunkFunction · 0.64
textTurnFunction · 0.64
structuredStartEventFunction · 0.64