AgentTaskOutcome
public record AgentTaskOutcome( String outcome, String result, String reason, List<String> pendingTaskIds)
源码Source
io/agentscope/extensions/aistio/adapter/AgentTaskOutcome.java:27–72承载智能体任务 Outcome数据的记录类型。位于 io.agentscope.extensions.aistio.adapter 包。核心成员包括 outcome、result、reason、pendingTaskIds、AgentTaskOutcome。
A business outcome submitted by the model, independently of a physical model turn ending.
记录组件摘要Record Component Summary
| 组件Component | 类型Type | 说明Description |
|---|---|---|
outcome | String | 执行 `outcome` 方法。 Performs the outcome operation. |
result | String | 执行结果相关操作。 Performs the result operation. |
reason | String | 执行推理相关操作。 Performs the reason operation. |
pendingTaskIds | List<String> | 执行 `pendingTaskIds` 方法。 Performs the pending task ids operation. |
嵌套类摘要Nested Class Summary
| 类Class | 类型Kind | 说明Description |
|---|---|---|
State | 类class | 状态,承载智能体的部署、调度与服务化运行。 Per-dispatch storage; never stored on a shared tool or HarnessAgent instance. |
构造器摘要Constructor Summary
| 构造器Constructor | 说明Description |
|---|---|
public AgentTaskOutcome(String outcome, String result, String reason, List<String> pendingTaskIds) | 初始化 `AgentTaskOutcome` 实例。 Creates a new instance. |
记录组件详情Record Component Detail
outcome
String outcome执行 outcome 方法。
Performs the outcome operation.
源码Source
io/agentscope/extensions/aistio/adapter/AgentTaskOutcome.java:27–72result
String result执行结果相关操作。
Performs the result operation.
源码Source
io/agentscope/extensions/aistio/adapter/AgentTaskOutcome.java:27–72reason
String reason执行推理相关操作。
Performs the reason operation.
源码Source
io/agentscope/extensions/aistio/adapter/AgentTaskOutcome.java:27–72pendingTaskIds
List<String> pendingTaskIds执行 pendingTaskIds 方法。
Performs the pending task ids operation.
源码Source
io/agentscope/extensions/aistio/adapter/AgentTaskOutcome.java:27–72构造器详情Constructor Detail
AgentTaskOutcome
public AgentTaskOutcome(String outcome, String result, String reason, List<String> pendingTaskIds)
初始化 AgentTaskOutcome 实例。
Creates a new instance.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
outcome | String | outcome(类型 `String`)。The outcome. |
result | String | 结果(类型 `String`)。The result. |
reason | String | 原因(类型 `String`)。The reason. |
pendingTaskIds | List<String> | 待处理任务 Ids(类型 `List`)。The pending task ids. |
源码Source
io/agentscope/extensions/aistio/adapter/AgentTaskOutcome.java:29–48嵌套类详情Nested Class Detail
State
public static final class State状态,承载智能体的部署、调度与服务化运行。位于 io.agentscope.extensions.aistio.adapter 包。核心成员包括 markTerminalCommitted、isTerminalCommitted、submit、take。
Per-dispatch storage; never stored on a shared tool or HarnessAgent instance.