AS AgentScopeAPI 手册 / API Reference

HistoryResult

public record HistoryResult( String sessionKey, String sessionFilePath, String content, String error)
源码Source io/agentscope/harness/coding/session/HistoryResult.java:19–20

承载历史结果数据的记录类型。位于 io.agentscope.harness.coding.session 包。核心成员包括 sessionKey、sessionFilePath、content、error。

Result of reading a session transcript file.

记录组件摘要Record Component Summary

组件Component类型Type说明Description
sessionKeyString
执行会话键相关操作。
Performs the session key operation.
sessionFilePathString
执行会话文件路径相关操作。
Performs the session file path operation.
contentString
执行内容相关操作。
Performs the content operation.
errorString
执行错误相关操作。
Performs the error operation.

记录组件详情Record Component Detail

sessionKey

String sessionKey

执行会话键相关操作。

Performs the session key operation.

源码Source io/agentscope/harness/coding/session/HistoryResult.java:19–20

sessionFilePath

String sessionFilePath

执行会话文件路径相关操作。

Performs the session file path operation.

源码Source io/agentscope/harness/coding/session/HistoryResult.java:19–20

content

String content

执行内容相关操作。

Performs the content operation.

源码Source io/agentscope/harness/coding/session/HistoryResult.java:19–20

error

String error

执行错误相关操作。

Performs the error operation.

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