feat(task): add images parameter for subagent image passthrough - #39417
feat(task): add images parameter for subagent image passthrough#39417CSWNDQTJ-Kenny wants to merge 1 commit into
Conversation
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
|
This PR doesn't fully meet our contributing guidelines and PR template. What needs to be fixed:
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. |
|
The following comment was made by an LLM, it may be inaccurate: Potential Duplicate FoundPR #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. |
|
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. |
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:
Issue for this PR
Closes #34409 #36020 #32302 #25553
Type of change
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
If you do not follow this template your PR will be automatically rejected.