fix(agent-loop): reclassify pending tool calls
This commit is contained in:
@@ -82,8 +82,8 @@ forever:
|
||||
'assistant/chunk'
|
||||
agent/step-result
|
||||
'assistant/message'
|
||||
schedule tool calls by ctx.tools.executionMode (exclusive = barrier;
|
||||
consecutive parallel-safe = one rolling-pool group, <= maxParallelToolCalls in flight):
|
||||
schedule tool calls by ctx.tools.executionMode (reclassify before pool replenishment;
|
||||
exclusive = barrier; parallel-safe = rolling pool, <= maxParallelToolCalls in flight):
|
||||
while the bounded pool has work:
|
||||
capacity available -> 'tool/call' -> tools/pre-execute -> monotonic guards -> tools/execute
|
||||
next model-order slot ready -> tools/post-execute -> 'tool/result'
|
||||
|
||||
Reference in New Issue
Block a user