docs(core): state loop initiator precondition

This commit is contained in:
Tianyi Cui
2026-07-19 14:20:27 +08:00
parent 4284cf70e4
commit 7a9c2ef473
2 changed files with 7 additions and 2 deletions
+3 -1
View File
@@ -32,8 +32,10 @@ interface Slot {
* Schedule one assistant step's tool calls by their live concurrency mode.
* Started calls receive ordered results. Abort drains them and rethrows after
* accepting their context into the batch FIFO owned by the caller.
* The committed step's AgentLoop driver boundary supplies the initiating Agent
* that becomes each explicit {@link ToolExecutionInput.agent}.
*
* @param ctx - loop context that owns the tool registry.
* @param ctx - loop context that owns the tool registry and carries the initiating Agent.
* @param turn - current turn number.
* @param step - current step number.
* @param toolCalls - assistant calls in model order.