Skip to content

fix(agent): 对齐 EventType.ALL 的文档与流式行为#1463

Open
guslegend0510 wants to merge 2 commits into
agentscope-ai:mainfrom
guslegend0510:fix/eventtype-all-docs
Open

fix(agent): 对齐 EventType.ALL 的文档与流式行为#1463
guslegend0510 wants to merge 2 commits into
agentscope-ai:mainfrom
guslegend0510:fix/eventtype-all-docs

Conversation

@guslegend0510
Copy link
Copy Markdown

做了什么

  • 明确 EventType.ALLStreamOptions#getEventTypes() 实际会包含 AGENT_RESULT
  • 同步更新英文/中文流式文档,和真实行为保持一致
  • 补充回归测试,验证 EventType.ALL 会流式输出 AGENT_RESULT

原因

验证

  • mvn -pl agentscope-core spotless:apply
  • mvn -pl agentscope-core -Dtest=StreamOptionsTest test

Fixes #1439

@guslegend0510 guslegend0510 requested a review from a team May 23, 2026 08:26
@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

EventTypes针对ALL的注释和实际代码实现逻辑不相符

3 participants