AS AgentScopeAPI 手册 / API Reference

LegacyLoadResult

public record LegacyLoadResult(AgentState state, boolean found)
源码Source io/agentscope/core/state/LegacyStateLoader.java:143

承载 Legacy 加载结果数据的记录类型。位于 io.agentscope.core.state 包。核心成员包括 state、found。

Result of reading the v1 session keys. found is true for non-empty legacy messages or a present tool-group key, including a tool-group value whose list is explicitly empty.

记录组件摘要Record Component Summary

组件Component类型Type说明Description
stateAgentState
执行状态相关操作。
Performs the state operation.
foundboolean
执行找到相关操作。
Performs the found operation.

记录组件详情Record Component Detail

state

AgentState state

执行状态相关操作。

Performs the state operation.

源码Source io/agentscope/core/state/LegacyStateLoader.java:143

found

boolean found

执行找到相关操作。

Performs the found operation.

源码Source io/agentscope/core/state/LegacyStateLoader.java:143
基于官方固定版本源码静态生成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.