ManagedDecision
public record ManagedDecision( String sessionId, String toolUseId, String approvalId, String agentTaskId, String attemptId, long dispatchGeneration, String turnId, String status, long decisionVersion, boolean allow, String reason)
源码Source
io/agentscope/builder/web/toolbus/ToolConfirmationCoordinator.java:846–857承载托管决策数据的记录类型。位于 io.agentscope.builder.web.toolbus 包。核心成员包括 sessionId、toolUseId、approvalId、agentTaskId、attemptId、dispatchGeneration。
Fully fenced control-plane decision callback.
记录组件摘要Record Component Summary
| 组件Component | 类型Type | 说明Description |
|---|---|---|
sessionId | String | 执行会话标识相关操作。 Performs the session id operation. |
toolUseId | String | 执行工具使用标识相关操作。 Performs the tool use id operation. |
approvalId | String | 执行 `approvalId` 方法。 Performs the approval id operation. |
agentTaskId | String | 执行智能体任务标识相关操作。 Performs the agent task id operation. |
attemptId | String | 执行尝试标识相关操作。 Performs the attempt id operation. |
dispatchGeneration | long | 执行 `dispatchGeneration` 方法。 Performs the dispatch generation operation. |
turnId | String | 执行轮次标识相关操作。 Performs the turn id operation. |
status | String | 执行状态相关操作。 Performs the status operation. |
decisionVersion | long | 执行决策版本相关操作。 Performs the decision version operation. |
allow | boolean | 执行 `allow` 方法。 Performs the allow operation. |
reason | String | 执行推理相关操作。 Performs the reason operation. |
记录组件详情Record Component Detail
sessionId
String sessionId执行会话标识相关操作。
Performs the session id operation.
源码Source
io/agentscope/builder/web/toolbus/ToolConfirmationCoordinator.java:846–857toolUseId
String toolUseId执行工具使用标识相关操作。
Performs the tool use id operation.
源码Source
io/agentscope/builder/web/toolbus/ToolConfirmationCoordinator.java:846–857approvalId
String approvalId执行 approvalId 方法。
Performs the approval id operation.
源码Source
io/agentscope/builder/web/toolbus/ToolConfirmationCoordinator.java:846–857agentTaskId
String agentTaskId执行智能体任务标识相关操作。
Performs the agent task id operation.
源码Source
io/agentscope/builder/web/toolbus/ToolConfirmationCoordinator.java:846–857attemptId
String attemptId执行尝试标识相关操作。
Performs the attempt id operation.
源码Source
io/agentscope/builder/web/toolbus/ToolConfirmationCoordinator.java:846–857dispatchGeneration
long dispatchGeneration执行 dispatchGeneration 方法。
Performs the dispatch generation operation.
源码Source
io/agentscope/builder/web/toolbus/ToolConfirmationCoordinator.java:846–857turnId
String turnId执行轮次标识相关操作。
Performs the turn id operation.
源码Source
io/agentscope/builder/web/toolbus/ToolConfirmationCoordinator.java:846–857status
String status执行状态相关操作。
Performs the status operation.
源码Source
io/agentscope/builder/web/toolbus/ToolConfirmationCoordinator.java:846–857decisionVersion
long decisionVersion执行决策版本相关操作。
Performs the decision version operation.
源码Source
io/agentscope/builder/web/toolbus/ToolConfirmationCoordinator.java:846–857allow
boolean allow执行 allow 方法。
Performs the allow operation.
源码Source
io/agentscope/builder/web/toolbus/ToolConfirmationCoordinator.java:846–857reason
String reason执行推理相关操作。
Performs the reason operation.
源码Source
io/agentscope/builder/web/toolbus/ToolConfirmationCoordinator.java:846–857