AS AgentScopeAPI 手册 / API Reference

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
outcomeString
执行 `outcome` 方法。
Performs the outcome operation.
resultString
执行结果相关操作。
Performs the result operation.
reasonString
执行推理相关操作。
Performs the reason operation.
pendingTaskIdsList<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–72

result

String result

执行结果相关操作。

Performs the result operation.

源码Source io/agentscope/extensions/aistio/adapter/AgentTaskOutcome.java:27–72

reason

String reason

执行推理相关操作。

Performs the reason operation.

源码Source io/agentscope/extensions/aistio/adapter/AgentTaskOutcome.java:27–72

pendingTaskIds

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
outcomeStringoutcome(类型 `String`)。The outcome.
resultString结果(类型 `String`)。The result.
reasonString原因(类型 `String`)。The reason.
pendingTaskIdsList<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.

基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.