DecisionRequest
public record DecisionRequest( String approvalId, long decisionVersion, String status, boolean allow, String denyMessage, String agentTaskId, String attemptId, long dispatchGeneration, String turnId)
源码Source
io/agentscope/builder/web/api/InternalToolConfirmationController.java:136–145承载决策请求数据的记录类型。位于 io.agentscope.builder.web.api 包。核心成员包括 approvalId、decisionVersion、status、allow、denyMessage、agentTaskId。
Versioned approval decision emitted from the control-plane outbox.
记录组件摘要Record Component Summary
| 组件Component | 类型Type | 说明Description |
|---|---|---|
approvalId | String | 执行 `approvalId` 方法。 Performs the approval id operation. |
decisionVersion | long | 执行决策版本相关操作。 Performs the decision version operation. |
status | String | 执行状态相关操作。 Performs the status operation. |
allow | boolean | 执行 `allow` 方法。 Performs the allow operation. |
denyMessage | String | 拒绝消息。 Performs the deny message 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. |
记录组件详情Record Component Detail
approvalId
String approvalId执行 approvalId 方法。
Performs the approval id operation.
源码Source
io/agentscope/builder/web/api/InternalToolConfirmationController.java:136–145decisionVersion
long decisionVersion执行决策版本相关操作。
Performs the decision version operation.
源码Source
io/agentscope/builder/web/api/InternalToolConfirmationController.java:136–145status
String status执行状态相关操作。
Performs the status operation.
源码Source
io/agentscope/builder/web/api/InternalToolConfirmationController.java:136–145allow
boolean allow执行 allow 方法。
Performs the allow operation.
源码Source
io/agentscope/builder/web/api/InternalToolConfirmationController.java:136–145denyMessage
String denyMessage拒绝消息。
Performs the deny message operation.
源码Source
io/agentscope/builder/web/api/InternalToolConfirmationController.java:136–145agentTaskId
String agentTaskId执行智能体任务标识相关操作。
Performs the agent task id operation.
源码Source
io/agentscope/builder/web/api/InternalToolConfirmationController.java:136–145attemptId
String attemptId执行尝试标识相关操作。
Performs the attempt id operation.
源码Source
io/agentscope/builder/web/api/InternalToolConfirmationController.java:136–145dispatchGeneration
long dispatchGeneration执行 dispatchGeneration 方法。
Performs the dispatch generation operation.
源码Source
io/agentscope/builder/web/api/InternalToolConfirmationController.java:136–145turnId
String turnId执行轮次标识相关操作。
Performs the turn id operation.
源码Source
io/agentscope/builder/web/api/InternalToolConfirmationController.java:136–145