update
This commit is contained in:
@@ -77,7 +77,7 @@ sequenceDiagram
|
||||
alt Tool calls exist
|
||||
Note over AgentLoop: 4. Execute Tools
|
||||
|
||||
alt SEQUENTIAL or has_sequential_tool_call
|
||||
alt Sequential execution
|
||||
AgentLoop->>AgentLoop: executeToolCallsSequential(...)
|
||||
activate AgentLoop
|
||||
|
||||
@@ -88,9 +88,9 @@ sequenceDiagram
|
||||
AgentLoop->>AgentLoop: createErrorToolResult
|
||||
AgentLoop->>AgentLoop: emit(ToolExecutionEndEvent)
|
||||
else Tool found
|
||||
alt before_tool_call hook exists
|
||||
alt before_tool_call hook
|
||||
AgentLoop->>AgentLoop: before_tool_call(context, signal)
|
||||
alt Hook blocks execution
|
||||
alt Hook blocks
|
||||
AgentLoop->>AgentLoop: createErrorToolResult
|
||||
AgentLoop->>AgentLoop: emit(ToolExecutionEndEvent)
|
||||
else Execution allowed
|
||||
@@ -147,7 +147,9 @@ sequenceDiagram
|
||||
AgentLoop->>AgentLoop: return ExecutedToolCallBatch
|
||||
deactivate AgentLoop
|
||||
activate AgentLoop
|
||||
else PARALLEL
|
||||
end
|
||||
|
||||
alt Parallel execution
|
||||
AgentLoop->>AgentLoop: executeToolCallsParallel(...)
|
||||
activate AgentLoop
|
||||
|
||||
|
||||
Reference in New Issue
Block a user