Skip to content

Conversation

@zhuangjie1125
Copy link
Contributor

What type of PR is this?

Check the PR title.

  • This PR title match the format: <type>(optional scope): <description>
  • The description of this PR title is user-oriented and clear enough for others to understand.
  • Attach the PR updating the user documentation if the current PR requires user awareness at the usage level. User docs repo

(Optional) Translate the PR title into Chinese.

(Optional) More detailed description for this PR(en: English/zh: Chinese).

en:
zh(optional):

(Optional) Which issue(s) this PR fixes:

(optional) The PR that updates user documentation:

@zhuangjie1125 zhuangjie1125 changed the title feat(tool): support multimodal tool invoke feat: support multimodal tool invoke Jan 23, 2026
@zhuangjie1125 zhuangjie1125 force-pushed the feat/tool_support_modal branch from 62f288a to 1a10fb2 Compare January 26, 2026 02:17
// ToolOutput represents the structured multimodal output from a tool execution.
type ToolOutput struct {
// Content contains the multimodal output parts.
Content []MessageInputPart `json:"content,omitempty"`
Copy link
Contributor

Choose a reason for hiding this comment

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

定了 ToolOutputPart?但是没使用

@zhuangjie1125 zhuangjie1125 force-pushed the feat/tool_support_modal branch 6 times, most recently from b26913f to 60d529e Compare January 26, 2026 04:41
@zhuangjie1125 zhuangjie1125 changed the title feat: support multimodal tool invoke feat(compose): support multimodal tool invoke Jan 26, 2026
@zhuangjie1125 zhuangjie1125 force-pushed the feat/tool_support_modal branch 3 times, most recently from f40ab46 to da030ae Compare January 26, 2026 04:51
@zhuangjie1125 zhuangjie1125 force-pushed the feat/tool_support_modal branch from da030ae to 7a955b7 Compare January 26, 2026 06:14
@codecov
Copy link

codecov bot commented Jan 26, 2026

Codecov Report

❌ Patch coverage is 31.89964% with 190 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.41%. Comparing base (9e6963f) to head (7a955b7).

Files with missing lines Patch % Lines
compose/tool_node.go 44.27% 101 Missing and 11 partials ⚠️
components/tool/utils/invokable_func.go 0.00% 68 Missing ⚠️
components/tool/callback_extra.go 0.00% 7 Missing ⚠️
components/tool/utils/create_options.go 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #712      +/-   ##
==========================================
- Coverage   81.59%   80.41%   -1.19%     
==========================================
  Files         127      127              
  Lines       12253    12464     +211     
==========================================
+ Hits         9998    10023      +25     
- Misses       1512     1691     +179     
- Partials      743      750       +7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants