AS AgentScopeAPI 手册 / API Reference

ResetMode

public enum ResetMode
源码Source io/agentscope/harness/coding/session/SessionResetPolicy.java:30–35

定义重置模式相关取值的枚举。位于 io.agentscope.harness.coding.session 包。核心成员包括 NEVER、DAILY、IDLE、BOTH。

A enum in io.agentscope.harness.coding.session that defines enum values used when components persists and restores session and memory data across calls. Declared in io.agentscope.harness.coding.session.

枚举常量摘要Enum Constant Summary

常量Constant说明Description
NEVER
执行 `NEVER` 方法。
Performs the NEVER operation.
DAILY
执行 `DAILY` 方法。
Performs the DAILY operation.
IDLE
执行 `IDLE` 方法。
Performs the IDLE operation.
BOTH
执行 `BOTH` 方法。
Performs the BOTH operation.

枚举常量详情Enum Constant Detail

NEVER

NEVER
staticfinal

执行 NEVER 方法。

Performs the NEVER operation.

源码Source io/agentscope/harness/coding/session/SessionResetPolicy.java:31

DAILY

DAILY
staticfinal

执行 DAILY 方法。

Performs the DAILY operation.

源码Source io/agentscope/harness/coding/session/SessionResetPolicy.java:32

IDLE

IDLE
staticfinal

执行 IDLE 方法。

Performs the IDLE operation.

源码Source io/agentscope/harness/coding/session/SessionResetPolicy.java:33

BOTH

BOTH
staticfinal

执行 BOTH 方法。

Performs the BOTH operation.

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