MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / copyMap

Function copyMap

agent/messages.go:324–330  ·  view source on GitHub ↗
(m map[string]any)

Source from the content-addressed store, hash-verified

322}
323
324func copyMap(m map[string]any) map[string]any {
325 cp := make(map[string]any, len(m))
326 for k, v := range m {
327 cp[k] = v
328 }
329 return cp
330}
331
332func contentBlocks(content any) []map[string]any {
333 switch c := content.(type) {

Callers 11

ReorderAttachmentsFunction · 0.70
HandleThinkingBlocksFunction · 0.70
MergeSplitMessagesFunction · 0.70
FixToolPairingsFunction · 0.70
copyMessagesFunction · 0.70
applyRollingCacheMethod · 0.70
RepairOrphanToolsFunction · 0.70
injectToolResultAfterFunction · 0.70
injectToolUseBeforeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected