**<u>AgentScope-Java is an open-source project. To involve a broader community, we recommend asking your questions in English.</u>** **Describe the bug** 整体是AI 流式事件上报时序错乱问题:THINKING_BLOCK_END(思考结束事件)、MODEL_CALL_END、AGENT_END三类收尾事件滞后于正文 TEXT 全量推送完成,正常逻辑应「思考内容推完→发思考结束;正文内容推完→发文本结束」,实际执行顺序: 思考分片THINKING_BLOCK_DELTA全量输出 → 正文TEXT_BLOCK_DELTA全部输出、TEXT_BLOCK_END完成 → 最后才串行抛出THINKING_BLOCK_END、MODEL_CALL_END、AGENT_END **To Reproduce** 1. 直接对话,拿到持续的流的记录的完整对象 就能看到 正常预期时序 ``` THINKING_BLOCK_START → 思考分片DELTA输出完毕 → 【立即THINKING_BLOCK_END】 TEXT_BLOCK_START → 正文分片DELTA输出完毕 → TEXT_BLOCK_END 全部内容结束 → MODEL_CALL_END → AGENT_END ``` **Expected behavior** A clear and concise description of what you expected to happen. **Error messages** Detailed error messages. **Environment (please complete the following information):** - AgentScope-Java Version: 2.0.0-RC1 - Java Version: 23 - OS: macos **Additional context** Add any other context about the problem here.
Activity
Zzzz-zmy commentedon Jun 5, 2026
数据:
Zzzz-zmy commentedon Jun 18, 2026
rc3 的顺序同样也是乱的, 响应数据如下: 用到了subagent
jjj.json
fix(core): fix ReActAgent stream event block end ordering (agentscope…
fix(core): fix ReActAgent stream event block end ordering (agentscope…
fix(core): fix ReActAgent stream event block end ordering (agentscope…