AS AgentScopeAPI 手册 / API Reference

CompletedTask

@JsonIgnoreProperties(ignoreUnknown = true) public record CompletedTask(String id, String subject, String result)
源码Source io/agentscope/harness/agent/team/TeamContext.java:57–58

承载已完成任务数据的记录类型。位于 io.agentscope.harness.agent.team 包。核心成员包括 id、subject、result。

A record in io.agentscope.harness.agent.team that carries data used when components supports discovery, delegation and collaboration between agents. Declared in io.agentscope.harness.agent.team.

记录组件摘要Record Component Summary

组件Component类型Type说明Description
idString
执行标识相关操作。
Performs the id operation.
subjectString
执行主题相关操作。
Performs the subject operation.
resultString
执行结果相关操作。
Performs the result operation.

记录组件详情Record Component Detail

id

String id

执行标识相关操作。

Performs the id operation.

源码Source io/agentscope/harness/agent/team/TeamContext.java:57–58

subject

String subject

执行主题相关操作。

Performs the subject operation.

源码Source io/agentscope/harness/agent/team/TeamContext.java:57–58

result

String result

执行结果相关操作。

Performs the result operation.

源码Source io/agentscope/harness/agent/team/TeamContext.java:57–58
基于官方固定版本源码静态生成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.