AS AgentScopeAPI 手册 / API Reference

RemoteStreamDetail

public enum RemoteStreamDetail
源码Source io/agentscope/harness/agent/subagent/protocol/RemoteStreamDetail.java:25–65

定义远程流详情相关取值的枚举。位于 io.agentscope.harness.agent.subagent.protocol 包。核心成员包括 wireValue、includes、parse、STATUS、FULL、VERBOSE。

How much of a remote subagent's event stream the caller wants, sent as context.detail.

Each level is a superset of the previous one. The wire value is the lower-case enum name.

枚举常量摘要Enum Constant Summary

常量Constant说明Description
STATUS
执行状态相关操作。
Lifecycle, tool call boundaries, tool results and confirmation requests.
FULL
执行 `FULL` 方法。
`#STATUS` plus text and thinking deltas.
VERBOSE
执行 `VERBOSE` 方法。
`#FULL` plus every remaining `io.agentscope.core.event.AgentEvent` — block boundaries, tool argument and tool output deltas, model calls with token usage, hints, custom events — forwarded as `RemoteEventType#AGENT_EVENT`.

方法摘要Method Summary

方法Method说明Description
public String wireValue()
返回 `wireValue` 结果。
Lower-case wire value, e.g.
public boolean includes(RemoteStreamDetail required)
设置该参数。
Whether this level includes events requiring at least `required`.
public static RemoteStreamDetail parse(String value)
static
设置解析。
Parses a wire value, falling back to `#STATUS` for null or unknown input.

枚举常量详情Enum Constant Detail

STATUS

STATUS
staticfinal

执行状态相关操作。

Lifecycle, tool call boundaries, tool results and confirmation requests.

源码Source io/agentscope/harness/agent/subagent/protocol/RemoteStreamDetail.java:28

FULL

FULL
staticfinal

执行 FULL 方法。

#STATUS plus text and thinking deltas.

源码Source io/agentscope/harness/agent/subagent/protocol/RemoteStreamDetail.java:31

VERBOSE

VERBOSE
staticfinal

执行 VERBOSE 方法。

#FULL plus every remaining io.agentscope.core.event.AgentEvent — block boundaries, tool argument and tool output deltas, model calls with token usage, hints, custom events — forwarded as RemoteEventType#AGENT_EVENT.

源码Source io/agentscope/harness/agent/subagent/protocol/RemoteStreamDetail.java:41

方法详情Method Detail

wireValue

public String wireValue()

返回 wireValue 结果。

Lower-case wire value, e.g.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/harness/agent/subagent/protocol/RemoteStreamDetail.java:44–46

includes

public boolean includes(RemoteStreamDetail required)

设置该参数。

Whether this level includes events requiring at least required.

参数Parameters
名称Name类型Type说明Description
requiredRemoteStreamDetail必填(类型 `RemoteStreamDetail`)。The required.
返回Returns boolean
返回布尔值,表示判断结果。Returns a boolean result.
源码Source io/agentscope/harness/agent/subagent/protocol/RemoteStreamDetail.java:49–51

parse

public static RemoteStreamDetail parse(String value)
static

设置解析。

Parses a wire value, falling back to #STATUS for null or unknown input.

参数Parameters
名称Name类型Type说明Description
valueString值(类型 `String`)。The value.
返回Returns RemoteStreamDetail
返回RemoteStreamDetail。Returns remote stream detail.
源码Source io/agentscope/harness/agent/subagent/protocol/RemoteStreamDetail.java:54–64
基于官方固定版本源码静态生成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.