AS AgentScopeAPI 手册 / API Reference

UndoResult

public record UndoResult(String sessionId, boolean restored, int undoDepth, int redoDepth)
源码Source io/agentscope/spring/boot/admin/service/SessionOperations.java:275

承载 Undo 结果数据的记录类型。位于 io.agentscope.spring.boot.admin.service 包。核心成员包括 sessionId、restored、undoDepth、redoDepth。

Outcome of an undo/redo invocation.

记录组件摘要Record Component Summary

组件Component类型Type说明Description
sessionIdString
执行会话标识相关操作。
Performs the session id operation.
restoredboolean
执行 `restored` 方法。
Performs the restored operation.
undoDepthint
执行 `undoDepth` 方法。
Performs the undo depth operation.
redoDepthint
执行 `redoDepth` 方法。
Performs the redo depth operation.

记录组件详情Record Component Detail

sessionId

String sessionId

执行会话标识相关操作。

Performs the session id operation.

源码Source io/agentscope/spring/boot/admin/service/SessionOperations.java:275

restored

boolean restored

执行 restored 方法。

Performs the restored operation.

源码Source io/agentscope/spring/boot/admin/service/SessionOperations.java:275

undoDepth

int undoDepth

执行 undoDepth 方法。

Performs the undo depth operation.

源码Source io/agentscope/spring/boot/admin/service/SessionOperations.java:275

redoDepth

int redoDepth

执行 redoDepth 方法。

Performs the redo depth operation.

源码Source io/agentscope/spring/boot/admin/service/SessionOperations.java:275
基于官方固定版本源码静态生成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.