feat(tool): Add video multiModal tools#921
Open
guanxuc wants to merge 6 commits intoagentscope-ai:mainfrom
Open
feat(tool): Add video multiModal tools#921guanxuc wants to merge 6 commits intoagentscope-ai:mainfrom
guanxuc wants to merge 6 commits intoagentscope-ai:mainfrom
Conversation
6f3724c to
928b957
Compare
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
Contributor
There was a problem hiding this comment.
Pull request overview
Adds DashScope video-related multimodal tools to the AgentScope-Java toolkit, along with a quickstart example and documentation updates, and expands unit/E2E coverage for the multimodal tool behaviors.
Changes:
- Add DashScope video generation/understanding tools (
text_to_video,image_to_video,first_and_last_frame_image_to_video,video_to_text) toDashScopeMultiModalTool. - Introduce a new quickstart
MultiModalToolExampledemonstrating multimodal tool usage and hook-based logging. - Update EN/ZH tool docs with “complete examples” links and extend unit/E2E tests for new multimodal capabilities.
Reviewed changes
Copilot reviewed 7 out of 8 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| docs/zh/task/tool.md | Adds links to complete tool examples (including multimodal example). |
| docs/en/task/tool.md | Adds links to complete tool examples (including multimodal example). |
| agentscope-examples/quickstart/src/main/java/io/agentscope/examples/quickstart/MultiModalToolExample.java | New quickstart example for multimodal tools + hook logging. |
| agentscope-core/src/main/java/io/agentscope/core/tool/multimodal/DashScopeMultiModalTool.java | Implements new DashScope video tools and expands parameter descriptions. |
| agentscope-core/src/test/java/io/agentscope/core/tool/multimodal/DashScopeMultiModalToolTest.java | Extends unit tests to cover new video tools and base64 URL paths. |
| agentscope-core/src/test/java/io/agentscope/core/tool/multimodal/DashScopeMultiModalToolE2ETest.java | Extends E2E test coverage for video tools and base64 scenarios. |
| agentscope-core/src/test/java/io/agentscope/core/model/ChatModelNonStreamingBlockingBehaviorTest.java | Relaxes timing threshold to reduce flakiness. |
...pe-core/src/test/java/io/agentscope/core/tool/multimodal/DashScopeMultiModalToolE2ETest.java
Outdated
Show resolved
Hide resolved
...amples/quickstart/src/main/java/io/agentscope/examples/quickstart/MultiModalToolExample.java
Show resolved
Hide resolved
agentscope-core/src/main/java/io/agentscope/core/tool/multimodal/DashScopeMultiModalTool.java
Outdated
Show resolved
Hide resolved
agentscope-core/src/main/java/io/agentscope/core/tool/multimodal/DashScopeMultiModalTool.java
Outdated
Show resolved
Hide resolved
LearningGp
reviewed
Mar 20, 2026
agentscope-core/src/main/java/io/agentscope/core/tool/multimodal/DashScopeMultiModalTool.java
Show resolved
Hide resolved
agentscope-core/src/main/java/io/agentscope/core/tool/multimodal/DashScopeMultiModalTool.java
Outdated
Show resolved
Hide resolved
- Add dashscope_text_to_video, dashscope_image_to_video, dashscope_first_and_last_frame_image_to_video and dashscope_video_to_text tools. - Add multiModal tool example. - Update tool.md doc.
5cd263c to
f983556
Compare
Contributor
Author
|
@LearningGp Thanks for your code review, I've resolved all the update suggestions, please feel free to contact to me if have any other problems. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
AgentScope-Java Version
1.0.11-SNAPSHOT
Description
Checklist
Please check the following items before code is ready to be reviewed.
mvn spotless:applymvn test)