SendResult
public record SendResult(String sessionKey, String status, String reply, String error)
源码Source
io/agentscope/harness/coding/session/SendResult.java:19承载发送结果数据的记录类型。位于 io.agentscope.harness.coding.session 包。核心成员包括 sessionKey、status、reply、error。
Result of executing a prompt against a managed session.
记录组件摘要Record Component Summary
| 组件Component | 类型Type | 说明Description |
|---|---|---|
sessionKey | String | 执行会话键相关操作。 Performs the session key operation. |
status | String | 执行状态相关操作。 Performs the status operation. |
reply | String | 回复输入消息并返回最终消息。 Performs the reply operation. |
error | String | 执行错误相关操作。 Performs the error operation. |
记录组件详情Record Component Detail
sessionKey
String sessionKey执行会话键相关操作。
Performs the session key operation.
源码Source
io/agentscope/harness/coding/session/SendResult.java:19status
String status执行状态相关操作。
Performs the status operation.
源码Source
io/agentscope/harness/coding/session/SendResult.java:19reply
String reply回复输入消息并返回最终消息。
Performs the reply operation.
源码Source
io/agentscope/harness/coding/session/SendResult.java:19error
String error执行错误相关操作。
Performs the error operation.
源码Source
io/agentscope/harness/coding/session/SendResult.java:19