AS AgentScopeAPI 手册 / API Reference

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
sessionKeyString
执行会话键相关操作。
Performs the session key operation.
statusString
执行状态相关操作。
Performs the status operation.
replyString
回复输入消息并返回最终消息。
Performs the reply operation.
errorString
执行错误相关操作。
Performs the error operation.

记录组件详情Record Component Detail

sessionKey

String sessionKey

执行会话键相关操作。

Performs the session key operation.

源码Source io/agentscope/harness/coding/session/SendResult.java:19

status

String status

执行状态相关操作。

Performs the status operation.

源码Source io/agentscope/harness/coding/session/SendResult.java:19

reply

String reply

回复输入消息并返回最终消息。

Performs the reply operation.

源码Source io/agentscope/harness/coding/session/SendResult.java:19

error

String error

执行错误相关操作。

Performs the error operation.

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