feat(agent-loop): run safe tool calls in parallel
This commit is contained in:
@@ -674,10 +674,14 @@ function renderLifecycle(): string {
|
||||
` Session-->>SDK: ${mermaidCode('session/event')} ${mermaidCode('assistant/chunk')}*`,
|
||||
` Driver->>Hooks: ${mermaidCode('agent/step-result')} waterfall`,
|
||||
` Driver->>Session: ${mermaidCode('assistant/message')}`,
|
||||
` Driver->>Session: ${mermaidCode('tool/call')}`,
|
||||
' Driver->>Tools: execute through pre and post waterfalls',
|
||||
' Tools-->>Session: tool-owned events when applicable',
|
||||
` Driver->>Session: ${mermaidCode('tool/result')} and ${mermaidCode('step/end')}`,
|
||||
' Driver->>Tools: group calls by executionMode',
|
||||
' loop started tool calls (bounded pool)',
|
||||
` Driver->>Session: ${mermaidCode('tool/call')} pending audit`,
|
||||
' Driver->>Tools: ordered pre / pooled dispatch / ordered post',
|
||||
' Tools-->>Session: tool-owned events when applicable',
|
||||
' end',
|
||||
` Driver->>Session: ${mermaidCode('tool/result')} in model order`,
|
||||
` Driver->>Session: ${mermaidCode('step/end')}`,
|
||||
` Driver->>Hooks: ${mermaidCode('agent/turn-continuation')} waterfall`,
|
||||
` Driver->>Session: ${mermaidCode('turn/end')}`,
|
||||
` Driver->>Persistence: ${mermaidCode('session/flush')} parallel checkpoint`,
|
||||
|
||||
Reference in New Issue
Block a user