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

Function withBlockParent

apps/sim/lib/copilot/chat/persisted-message.ts:140–145  ·  view source on GitHub ↗
(target: T, src: { parentToolCallId?: string })

Source from the content-addressed store, hash-verified

138}
139
140function withBlockParent<T>(target: T, src: { parentToolCallId?: string }): T {
141 if (src.parentToolCallId) {
142 ;(target as { parentToolCallId?: string }).parentToolCallId = src.parentToolCallId
143 }
144 return target
145}
146
147/**
148 * Carry deterministic span identity (spanId / parentSpanId) across a block

Callers 1

mapContentBlockFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected