docs: record batch tool admission and fit the turn-flow summary

The tool executor merge added ToolBatchInput.toolSet; the subsystem page's type-equivalence block now matches it. The architecture turn-flow line names step-admitted tool schemas in one line so the page stays within its word budget.
This commit is contained in:
Yichen Jiang committed 2026-10-21 23:36:35 +08:00
1 parent ce24d53eb5
commit d8c99baa28
4 files changed
+12 -4

No files matched your search

+1 -2
View File
@@ -83,8 +83,7 @@ A **step** is one model request plus the tools it calls. A **turn** is zero or m
```text
turn/start
claim next-step input plus one queued message
snapshot Session model selection; resolve the step's conditional tools
assemble prompt sections + admitted tool schemas
snapshot Session model selection; assemble prompt sections + step-admitted tool schemas
-> agent/pre-step; project runtime context at fallback
reject | enter(messages, startsRequestSeries?)
reject, or a first enter rewritten empty -> close the turn with no step
+1 -2
View File
@@ -87,8 +87,7 @@ AgentLoop 初始化 Agent,失败则回滚,并在启动已排队工作前等
```text
turn/start
claim next-step input plus one queued message
snapshot Session model selection; resolve the step's conditional tools
assemble prompt sections + admitted tool schemas
snapshot Session model selection; assemble prompt sections + step-admitted tool schemas
-> agent/pre-step; project runtime context at fallback
reject | enter(messages, startsRequestSeries?)
reject, or a first enter rewritten empty -> close the turn with no step
+5
View File
@@ -202,6 +202,11 @@ interface ToolBatchInput {
* Undefined for standalone calls outside an Agent, such as a service invocation.
*/
readonly agent?: Agent
/**
* Step admission for every call in the batch, including program subcalls.
* Undefined admits only unconditional registrations.
*/
readonly toolSet?: ResolvedToolSet
/**
* Committed model step receiving root call/result events; requires `agent`.
* Undefined when `agent` is absent or for calls outside a model response, such
+5
View File
@@ -202,6 +202,11 @@ interface ToolBatchInput {
* Undefined for standalone calls outside an Agent, such as a service invocation.
*/
readonly agent?: Agent
/**
* Step admission for every call in the batch, including program subcalls.
* Undefined admits only unconditional registrations.
*/
readonly toolSet?: ResolvedToolSet
/**
* Committed model step receiving root call/result events; requires `agent`.
* Undefined when `agent` is absent or for calls outside a model response, such