diff --git a/NucleicRemote/NucleicRemote/Views/Transcript/TranscriptProjection.swift b/NucleicRemote/NucleicRemote/Views/Transcript/TranscriptProjection.swift index 6b1a6ca..64ae655 100644 --- a/NucleicRemote/NucleicRemote/Views/Transcript/TranscriptProjection.swift +++ b/NucleicRemote/NucleicRemote/Views/Transcript/TranscriptProjection.swift @@ -321,7 +321,7 @@ enum TranscriptProjection { /// Maps each tool-call id to its parent subagent's id, built from the call start/complete /// events. A tool *result* or *file change* names only a tool id, so it inherits its subagent /// scope from the call it belongs to via this map. - private static func toolParentMap(_ events: [AgentEvent]) -> [String: String] { + private static func toolParentMap(_ events: ArraySlice) -> [String: String] { var map: [String: String] = [:] for event in events { switch event.kind {