AS AgentScopeAPI 手册 / API Reference

RemoteEventType

public enum RemoteEventType
源码Source io/agentscope/harness/agent/subagent/protocol/RemoteEventType.java:24–42

定义远程事件类型的枚举。位于 io.agentscope.harness.agent.subagent.protocol 包。核心成员包括 RUN_STARTED、RUN_FINISHED、RUN_ERROR、TEXT_DELTA、THINKING_DELTA、TOOL_CALL_START。

Stable wire event types for remote subagent streaming over Agent Protocol.

These values must remain backward-compatible across versions; unknown types should be ignored by older clients.

枚举常量摘要Enum Constant Summary

常量Constant说明Description
RUN_STARTED
运行已启动。
Runs the STARTED.
RUN_FINISHED
运行FINISHED。
Runs the FINISHED.
RUN_ERROR
运行错误。
Runs the ERROR.
TEXT_DELTA
执行文本增量相关操作。
Performs the TEXT DELTA operation.
THINKING_DELTA
执行THINKING 增量相关操作。
Performs the THINKING DELTA operation.
TOOL_CALL_START
执行工具调用启动相关操作。
Performs the TOOL CALL START operation.
TOOL_CALL_END
执行工具调用结束相关操作。
Performs the TOOL CALL END operation.
TOOL_RESULT
执行工具结果相关操作。
Performs the TOOL RESULT operation.
REQUIRE_CONFIRM
执行REQUIRE 确认相关操作。
Performs the REQUIRE CONFIRM operation.
STATUS
执行状态相关操作。
Performs the STATUS operation.
AGENT_EVENT
执行智能体事件相关操作。
Carries an `io.agentscope.core.event.AgentEvent` that has no dedicated wire type, fully serialized in `RemoteAgentEvent#getPayload()`.

枚举常量详情Enum Constant Detail

RUN_STARTED

RUN_STARTED
staticfinal

运行已启动。

Runs the STARTED.

源码Source io/agentscope/harness/agent/subagent/protocol/RemoteEventType.java:25

RUN_FINISHED

RUN_FINISHED
staticfinal

运行FINISHED。

Runs the FINISHED.

源码Source io/agentscope/harness/agent/subagent/protocol/RemoteEventType.java:26

RUN_ERROR

RUN_ERROR
staticfinal

运行错误。

Runs the ERROR.

源码Source io/agentscope/harness/agent/subagent/protocol/RemoteEventType.java:27

TEXT_DELTA

TEXT_DELTA
staticfinal

执行文本增量相关操作。

Performs the TEXT DELTA operation.

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

THINKING_DELTA

THINKING_DELTA
staticfinal

执行THINKING 增量相关操作。

Performs the THINKING DELTA operation.

源码Source io/agentscope/harness/agent/subagent/protocol/RemoteEventType.java:29

TOOL_CALL_START

TOOL_CALL_START
staticfinal

执行工具调用启动相关操作。

Performs the TOOL CALL START operation.

源码Source io/agentscope/harness/agent/subagent/protocol/RemoteEventType.java:30

TOOL_CALL_END

TOOL_CALL_END
staticfinal

执行工具调用结束相关操作。

Performs the TOOL CALL END operation.

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

TOOL_RESULT

TOOL_RESULT
staticfinal

执行工具结果相关操作。

Performs the TOOL RESULT operation.

源码Source io/agentscope/harness/agent/subagent/protocol/RemoteEventType.java:32

REQUIRE_CONFIRM

REQUIRE_CONFIRM
staticfinal

执行REQUIRE 确认相关操作。

Performs the REQUIRE CONFIRM operation.

源码Source io/agentscope/harness/agent/subagent/protocol/RemoteEventType.java:33

STATUS

STATUS
staticfinal

执行状态相关操作。

Performs the STATUS operation.

源码Source io/agentscope/harness/agent/subagent/protocol/RemoteEventType.java:34

AGENT_EVENT

AGENT_EVENT
staticfinal

执行智能体事件相关操作。

Carries an io.agentscope.core.event.AgentEvent that has no dedicated wire type, fully serialized in RemoteAgentEvent#getPayload().

源码Source io/agentscope/harness/agent/subagent/protocol/RemoteEventType.java:41
基于官方固定版本源码静态生成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.