ConfirmationDecision
public record ConfirmationDecision(boolean allow, String reason)
源码Source
io/agentscope/builder/web/toolbus/ToolConfirmationCoordinator.java:843承载确认决策数据的记录类型。位于 io.agentscope.builder.web.toolbus 包。核心成员包括 allow、reason。
A record in io.agentscope.builder.web.toolbus that carries data used when components deploys, schedules and serves agents. Declared in io.agentscope.builder.web.toolbus.
记录组件摘要Record Component Summary
| 组件Component | 类型Type | 说明Description |
|---|---|---|
allow | boolean | 执行 `allow` 方法。 Performs the allow operation. |
reason | String | 执行推理相关操作。 Performs the reason operation. |
记录组件详情Record Component Detail
allow
boolean allow执行 allow 方法。
Performs the allow operation.
源码Source
io/agentscope/builder/web/toolbus/ToolConfirmationCoordinator.java:843reason
String reason执行推理相关操作。
Performs the reason operation.
源码Source
io/agentscope/builder/web/toolbus/ToolConfirmationCoordinator.java:843