Skip to content

fix(docs): align documentation with actual codebase #1107

Merged
chickenlj merged 3 commits intoagentscope-ai:mainfrom
LearningGp:fix/doc
Apr 13, 2026
Merged

fix(docs): align documentation with actual codebase #1107
chickenlj merged 3 commits intoagentscope-ai:mainfrom
LearningGp:fix/doc

Conversation

@LearningGp
Copy link
Copy Markdown
Collaborator

AgentScope-Java Version

1.0.11

Description

fix(docs): align documentation with actual codebase

Checklist

Please check the following items before code is ready to be reviewed.

  • Code has been formatted with mvn spotless:apply
  • All tests are passing (mvn test)
  • Javadoc comments are complete and follow project conventions
  • Related documentation has been updated (e.g. links, examples, etc.)
  • Code is ready for review

LearningGp and others added 2 commits April 2, 2026 15:16
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the English and Chinese documentation to match the current AgentScope Java (1.0.11) APIs and runtime behaviors, mainly correcting outdated code examples and capability matrices.

Changes:

  • Update doc code snippets to current APIs (e.g., Msg.builder().textContent(...), ReActAgent.builder().toolkit(...), new tool-choice classes).
  • Clarify/expand documented behaviors and capabilities (hooks/events, multimodal tool capabilities, model options, workflow defaults).
  • Fix/adjust cross-doc links and configuration notes to reflect the current module structure.

Reviewed changes

Copilot reviewed 38 out of 38 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
docs/zh/task/tts.md Update TTS examples to new Msg builder API and Toolkit-based tool registration
docs/zh/task/tool.md Clarify streaming tools, add list_directory, update Toolkit defaults and suspend-resume example
docs/zh/task/studio.md Clarify Studio runs as a frontend dev server
docs/zh/task/rag.md Remove outdated RAG option (enableOnlyForUserQueries)
docs/zh/task/plan.md Document needUserConfirm behavior and defaults
docs/zh/task/online-training.md Update message creation API in example
docs/zh/task/model.md Update model capability matrix and add DashScope/OpenAI option details
docs/zh/task/memory.md Fix related-doc link to current agent config doc
docs/zh/task/mcp.md Fix tool group variable usage and clarify HTTP-only params/headers behavior
docs/zh/task/hook.md Update hook modifiability and add summary hook events
docs/zh/task/agent-skill.md Update SkillBox construction to include Toolkit
docs/zh/task/agent-config.md Update skill example to new AgentSkill.builder() style
docs/zh/task/a2a.md Update AgentCard skill examples to builder pattern
docs/zh/quickstart/key-concepts.md Align key concepts with current message fields, reasons, and agent interfaces
docs/zh/quickstart/installation.md Update dependency/module listing notes
docs/zh/quickstart/agent.md Align ReActAgent builder parameter list with current options
docs/zh/multi-agent/workflow.md Clarify workflow example defaults and runner behavior
docs/zh/multi-agent/handoffs.md Fix AgentScopeAgent import path
docs/zh/intro.md Align intro claims with current architecture/modules (A2A, tracing, etc.)
docs/en/task/tts.md Update TTS examples to new Msg builder API and Toolkit-based tool registration
docs/en/task/tool.md Clarify streaming tools, add list_directory, update Toolkit defaults and suspend-resume example
docs/en/task/studio.md Clarify Studio runs as a frontend dev server
docs/en/task/rag.md Remove outdated RAG option (enableOnlyForUserQueries)
docs/en/task/plan.md Document needUserConfirm behavior and defaults
docs/en/task/online-training.md Update message creation API in example
docs/en/task/model.md Update model capability matrix and add DashScope/OpenAI option details
docs/en/task/memory.md Fix related-doc link to current agent config doc
docs/en/task/mcp.md Fix tool group variable usage and clarify HTTP-only params/headers behavior
docs/en/task/hook.md Update hook modifiability and add summary hook events
docs/en/task/agent-skill.md Update SkillBox construction to include Toolkit
docs/en/task/agent-config.md Update skill example (needs correction for compile validity)
docs/en/task/a2a.md Update AgentCard skill examples to builder pattern
docs/en/quickstart/key-concepts.md Align key concepts with current message fields, reasons, and agent interfaces
docs/en/quickstart/installation.md Update dependency/module listing notes
docs/en/quickstart/agent.md Align ReActAgent builder parameter list with current options
docs/en/multi-agent/workflow.md Clarify workflow example defaults and runner behavior
docs/en/multi-agent/handoffs.md Fix AgentScopeAgent import path and add descriptions
docs/en/intro.md Align intro claims with current architecture/modules (A2A, tracing, etc.)

Comment thread docs/en/task/tool.md
Comment thread docs/zh/task/tool.md
Comment thread docs/zh/task/agent-config.md
Comment thread docs/en/task/a2a.md
Comment thread docs/zh/task/a2a.md
Comment thread docs/en/task/agent-config.md
@chickenlj chickenlj merged commit 1282f3c into agentscope-ai:main Apr 13, 2026
4 checks passed
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.

3 participants