AS AgentScopeAPI 手册 / API Reference

SessionKind

public enum SessionKind
源码Source io/agentscope/harness/coding/session/SessionKind.java:19–34

定义会话种类相关取值的枚举。位于 io.agentscope.harness.coding.session 包。核心成员包括 getValue、SUBAGENT、MAIN、REVIEWER。

AgentStateStore classification, matching OpenClaw session kinds.

枚举常量摘要Enum Constant Summary

常量Constant说明Description
SUBAGENT
执行子智能体相关操作。
Performs the SUBAGENT operation.
MAIN
执行主相关操作。
Performs the MAIN operation.
REVIEWER
执行 `REVIEWER` 方法。
Reviewer agent session — runs independently from the main coding session.

方法摘要Method Summary

方法Method说明Description
public String getValue()
获取值。
Returns the value.

枚举常量详情Enum Constant Detail

SUBAGENT

SUBAGENT("subagent")
staticfinal

执行子智能体相关操作。

Performs the SUBAGENT operation.

源码Source io/agentscope/harness/coding/session/SessionKind.java:20

MAIN

MAIN("main")
staticfinal

执行主相关操作。

Performs the MAIN operation.

源码Source io/agentscope/harness/coding/session/SessionKind.java:21

REVIEWER

REVIEWER("reviewer")
staticfinal

执行 REVIEWER 方法。

Reviewer agent session — runs independently from the main coding session.

源码Source io/agentscope/harness/coding/session/SessionKind.java:23

方法详情Method Detail

getValue

public String getValue()

获取值。

Returns the value.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/harness/coding/session/SessionKind.java:31–33
基于官方固定版本源码静态生成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.