AS AgentScopeAPI 手册 / API Reference

RunRecord

public record RunRecord( String runId, String childSessionKey, String requesterSessionKey, String agentId, RunStatus status, long createdAtMs, Long startedAtMs, Long completedAtMs, String resultSummary, String error)
源码Source io/agentscope/harness/coding/session/SubagentRunRegistry.java:33–43

承载运行记录数据的记录类型。位于 io.agentscope.harness.coding.session 包。核心成员包括 runId、childSessionKey、requesterSessionKey、agentId、status、createdAtMs。

A record in io.agentscope.harness.coding.session that carries data used when components persists and restores session and memory data across calls. Declared in io.agentscope.harness.coding.session.

记录组件摘要Record Component Summary

组件Component类型Type说明Description
runIdString
运行标识。
Runs the id.
childSessionKeyString
执行子级会话键相关操作。
Performs the child session key operation.
requesterSessionKeyString
执行 `requesterSessionKey` 方法。
Performs the requester session key operation.
agentIdString
执行智能体标识相关操作。
Performs the agent id operation.
statusRunStatus
执行状态相关操作。
Performs the status operation.
createdAtMslong
执行已创建 At Ms相关操作。
Performs the created at ms operation.
startedAtMsLong
执行已启动 At Ms相关操作。
Performs the started at ms operation.
completedAtMsLong
执行已完成 At Ms相关操作。
Performs the completed at ms operation.
resultSummaryString
执行结果摘要相关操作。
Performs the result summary operation.
errorString
执行错误相关操作。
Performs the error operation.

记录组件详情Record Component Detail

runId

String runId

运行标识。

Runs the id.

源码Source io/agentscope/harness/coding/session/SubagentRunRegistry.java:33–43

childSessionKey

String childSessionKey

执行子级会话键相关操作。

Performs the child session key operation.

源码Source io/agentscope/harness/coding/session/SubagentRunRegistry.java:33–43

requesterSessionKey

String requesterSessionKey

执行 requesterSessionKey 方法。

Performs the requester session key operation.

源码Source io/agentscope/harness/coding/session/SubagentRunRegistry.java:33–43

agentId

String agentId

执行智能体标识相关操作。

Performs the agent id operation.

源码Source io/agentscope/harness/coding/session/SubagentRunRegistry.java:33–43

status

RunStatus status

执行状态相关操作。

Performs the status operation.

源码Source io/agentscope/harness/coding/session/SubagentRunRegistry.java:33–43

createdAtMs

long createdAtMs

执行已创建 At Ms相关操作。

Performs the created at ms operation.

源码Source io/agentscope/harness/coding/session/SubagentRunRegistry.java:33–43

startedAtMs

Long startedAtMs

执行已启动 At Ms相关操作。

Performs the started at ms operation.

源码Source io/agentscope/harness/coding/session/SubagentRunRegistry.java:33–43

completedAtMs

Long completedAtMs

执行已完成 At Ms相关操作。

Performs the completed at ms operation.

源码Source io/agentscope/harness/coding/session/SubagentRunRegistry.java:33–43

resultSummary

String resultSummary

执行结果摘要相关操作。

Performs the result summary operation.

源码Source io/agentscope/harness/coding/session/SubagentRunRegistry.java:33–43

error

String error

执行错误相关操作。

Performs the error operation.

源码Source io/agentscope/harness/coding/session/SubagentRunRegistry.java:33–43
基于官方固定版本源码静态生成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.