MCPcopy Create free account
hub / github.com/TanStack/ai / createId

Method createId

packages/ai/src/activities/chat/index.ts:2596–2598  ·  view source on GitHub ↗
(prefix: string)

Source from the content-addressed store, hash-verified

2594 }
2595
2596 private createId(prefix: string): string {
2597 return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`
2598 }
2599}
2600
2601// ===========================

Callers 6

constructorMethod · 0.95
beginIterationMethod · 0.95
buildToolResultChunksMethod · 0.95
onStartFunction · 0.80
onToolPhaseCompleteFunction · 0.80

Calls 2

nowMethod · 0.80
toStringMethod · 0.80

Tested by

no test coverage detected