SpawnResult
public record SpawnResult( String runId, String sessionKey, String sessionId, String sessionFilePath, String agentId, String status, String error)
源码Source
io/agentscope/harness/coding/session/SpawnResult.java:19–26承载 Spawn 结果数据的记录类型。位于 io.agentscope.harness.coding.session 包。核心成员包括 runId、sessionKey、sessionId、sessionFilePath、agentId、status。
Result of registering a managed subagent session.
记录组件摘要Record Component Summary
| 组件Component | 类型Type | 说明Description |
|---|---|---|
runId | String | 运行标识。 Runs the id. |
sessionKey | String | 执行会话键相关操作。 Performs the session key operation. |
sessionId | String | 执行会话标识相关操作。 Performs the session id operation. |
sessionFilePath | String | 执行会话文件路径相关操作。 Performs the session file path operation. |
agentId | String | 执行智能体标识相关操作。 Performs the agent id operation. |
status | String | 执行状态相关操作。 Performs the status operation. |
error | String | 执行错误相关操作。 Performs the error operation. |
记录组件详情Record Component Detail
runId
String runId运行标识。
Runs the id.
源码Source
io/agentscope/harness/coding/session/SpawnResult.java:19–26sessionKey
String sessionKey执行会话键相关操作。
Performs the session key operation.
源码Source
io/agentscope/harness/coding/session/SpawnResult.java:19–26sessionId
String sessionId执行会话标识相关操作。
Performs the session id operation.
源码Source
io/agentscope/harness/coding/session/SpawnResult.java:19–26sessionFilePath
String sessionFilePath执行会话文件路径相关操作。
Performs the session file path operation.
源码Source
io/agentscope/harness/coding/session/SpawnResult.java:19–26agentId
String agentId执行智能体标识相关操作。
Performs the agent id operation.
源码Source
io/agentscope/harness/coding/session/SpawnResult.java:19–26status
String status执行状态相关操作。
Performs the status operation.
源码Source
io/agentscope/harness/coding/session/SpawnResult.java:19–26error
String error执行错误相关操作。
Performs the error operation.
源码Source
io/agentscope/harness/coding/session/SpawnResult.java:19–26