MCPcopy Index your code
hub / github.com/simstudioai/sim / stampBlockEnd

Function stampBlockEnd

apps/sim/lib/copilot/request/handlers/types.ts:51–53  ·  view source on GitHub ↗
(block: ContentBlock)

Source from the content-addressed store, hash-verified

49}
50
51export function stampBlockEnd(block: ContentBlock): void {
52 if (block.endedAt === undefined) block.endedAt = Date.now()
53}
54
55/**
56 * Flush any open thinking block into contentBlocks and clear the thinking state.

Callers 2

flushThinkingBlockFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected