MCPcopy Index your code
hub / github.com/TanStack/ai / now

Function now

packages/ai-opencode/src/stream/translate.ts:117–117  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

115): AsyncIterable<StreamChunk> {
116 const { model, runId, threadId, genId } = ctx
117 const now = () => Date.now()
118
119 let runStarted = false
120 /** Tool calls started but with no result yet, keyed by callID. */

Callers 11

startRunFunction · 0.70
closeTextFunction · 0.70
closeReasoningFunction · 0.70
handleTextPartFunction · 0.70
handleReasoningPartFunction · 0.70
openToolCallFunction · 0.70
handleToolPartFunction · 0.70
handleEventFunction · 0.70
finishFunction · 0.70
translateOpencodeStreamFunction · 0.70

Calls 1

nowMethod · 0.80

Tested by

no test coverage detected