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

Function withLocalMaterializedKeys

apps/sim/lib/execution/payloads/hydration.ts:9–19  ·  view source on GitHub ↗
(
  context: LargeValueStoreContext,
  materializedValue: unknown
)

Source from the content-addressed store, hash-verified

7} from '@/lib/execution/payloads/store'
8
9function withLocalMaterializedKeys(
10 context: LargeValueStoreContext,
11 materializedValue: unknown
12): LargeValueStoreContext {
13 recordMaterializedAccessKeys(context, materializedValue)
14 return {
15 ...context,
16 largeValueKeys: context.largeValueKeys,
17 fileKeys: context.fileKeys,
18 }
19}
20
21export async function warmLargeValueRefs(
22 value: unknown,

Callers 1

warmLargeValueRefsFunction · 0.85

Calls 1

Tested by

no test coverage detected