From 0ea0c3b65c36bc9f41a7428387a7512ac88e3b37 Mon Sep 17 00:00:00 2001 From: guslegend <1670547022@qq.com> Date: Sat, 30 May 2026 09:20:16 +0800 Subject: [PATCH 1/3] docs(agent): clarify AGENT_RESULT stream default --- .../src/main/java/io/agentscope/core/agent/EventType.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/agentscope-core/src/main/java/io/agentscope/core/agent/EventType.java b/agentscope-core/src/main/java/io/agentscope/core/agent/EventType.java index 431ef16518..75a1af5476 100644 --- a/agentscope-core/src/main/java/io/agentscope/core/agent/EventType.java +++ b/agentscope-core/src/main/java/io/agentscope/core/agent/EventType.java @@ -67,7 +67,10 @@ public enum EventType { * Final result event - The agent's complete response. * *

This is the message returned by {@link Agent#call(io.agentscope.core.message.Msg)}. - * By default, this event is NOT included in the stream to avoid duplication since it's the return value. + * In streaming APIs, this event is emitted whenever {@link StreamOptions} includes + * {@link #AGENT_RESULT} explicitly or uses {@link #ALL}. Since the default + * {@link StreamOptions} configuration uses {@link #ALL}, {@code AGENT_RESULT} is streamed + * by default. * *

Characteristics: *