Transcript Incremental Projection
Nucleic-Session: 0FFD007B-0696-4517-9429-129C7B0FD5AC Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -302,7 +302,7 @@ enum TranscriptProjection {
|
|||||||
|
|
||||||
/// Split a scope's events into the main agent's own (`topLevel`) and each subagent's, keyed by
|
/// Split a scope's events into the main agent's own (`topLevel`) and each subagent's, keyed by
|
||||||
/// the spawning `Task`'s id.
|
/// the spawning `Task`'s id.
|
||||||
private static func partition(_ events: [AgentEvent])
|
private static func partition(_ events: ArraySlice<AgentEvent>)
|
||||||
-> (topLevel: [AgentEvent], byParent: [String: [AgentEvent]])
|
-> (topLevel: [AgentEvent], byParent: [String: [AgentEvent]])
|
||||||
{
|
{
|
||||||
let parentOf = toolParentMap(events)
|
let parentOf = toolParentMap(events)
|
||||||
|
|||||||
Reference in New Issue
Block a user