Skip to content

feat(task): add images parameter for subagent image passthrough - #39417

Closed
CSWNDQTJ-Kenny wants to merge 1 commit into
anomalyco:devfrom
CSWNDQTJ-Kenny:fix/subagent-image-passthrough
Closed

feat(task): add images parameter for subagent image passthrough#39417
CSWNDQTJ-Kenny wants to merge 1 commit into
anomalyco:devfrom
CSWNDQTJ-Kenny:fix/subagent-image-passthrough

Conversation

@CSWNDQTJ-Kenny

Copy link
Copy Markdown

Add support for passing images to subagents via the task tool. This allows visual analysis tasks by providing image attachments that will be included in the subagent's prompt.

Changes:

  • Add images parameter to BaseParameterFields in task.ts
  • Modify runTask to convert and pass images to subagent prompt
  • Update task.txt documentation with images parameter usage
  • Add test case for images parameter passing

Issue for this PR

Closes #34409 #36020 #32302 #25553

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Please provide a description of the issue, the changes you made to fix it, and why they work. It is expected that you understand why your changes work and if you do not understand why at least say as much so a maintainer knows how much to value the PR.

If you paste a large clearly AI generated description here your PR may be IGNORED or CLOSED!

How did you verify your code works?

Screenshots / recordings

If this is a UI change, please include a screenshot or recording.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

If you do not follow this template your PR will be automatically rejected.

Add support for passing images to subagents via the task tool. This allows
visual analysis tasks by providing image attachments that will be included
in the subagent's prompt.

Changes:
- Add images parameter to BaseParameterFields in task.ts
- Modify runTask to convert and pass images to subagent prompt
- Update task.txt documentation with images parameter usage
- Add test case for images parameter passing
@github-actions

Copy link
Copy Markdown
Contributor

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • "How did you verify your code works?" section is empty. Please explain how you tested.

Please edit this PR description to address the above within 2 hours, or it will be automatically closed.

If you believe this was flagged incorrectly, please let a maintainer know.

@github-actions github-actions Bot added the needs:compliance This means the issue will auto-close after 2 hours. label Jul 29, 2026
@github-actions

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

Potential Duplicate Found

PR #32302: fix(opencode): forward parent attachments to subagents

The current PR (#39417) appears to be the only one specifically implementing the images parameter feature, but PR #32302 handles a related concern about forwarding parent attachments to subagents. These may be part of the same feature work or one may depend on the other.

@github-actions

Copy link
Copy Markdown
Contributor

This pull request has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.

Feel free to open a new pull request that follows our guidelines.

@github-actions github-actions Bot removed the needs:compliance This means the issue will auto-close after 2 hours. label Jul 29, 2026
@github-actions github-actions Bot closed this Jul 29, 2026
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.

Subagent with vision-capable model fails to analyze images

1 participant