Path to image file is wrong when given to subagent #9220

Open
opened 2026-02-16 18:11:56 -05:00 by yindo · 0 comments
Owner

Originally created by @itsjling on GitHub (Feb 12, 2026).

Originally assigned to: @adamdotdevin on GitHub.

Description

In testing MiniMax 2.5, I created a subagent to read images since it doesn't natively support images. The primary agent is consistently passing the wrong path to the image. It passes a path to my home directory when the image is in Downloads. You can see the subagent trying to find the image (usually it does so eventually).

Image Image

Subagent config:

Image

Plugins

N/A

OpenCode version

macOS Desktop 1.1.64

Steps to reproduce

  1. Instruct the primary agent to create a subagent for some task involving an image.
  2. See if the path given to the subagent is correct.

Screenshot and/or share link

No response

Operating System

macOS 15.6

Terminal

Ghostty

Originally created by @itsjling on GitHub (Feb 12, 2026). Originally assigned to: @adamdotdevin on GitHub. ### Description In testing MiniMax 2.5, I created a subagent to read images since it doesn't natively support images. The primary agent is consistently passing the wrong path to the image. It passes a path to my home directory when the image is in Downloads. You can see the subagent trying to find the image (usually it does so eventually). <img width="965" height="69" alt="Image" src="https://github.com/user-attachments/assets/3ad80c38-2415-4db6-9be0-be037b834f77" /> <img width="771" height="444" alt="Image" src="https://github.com/user-attachments/assets/94b35e3e-fce5-4518-bc6b-d4c4f2736e7c" /> Subagent config: <img width="620" height="269" alt="Image" src="https://github.com/user-attachments/assets/1f1f638c-47b7-4fa1-a549-65c47f5adce9" /> ### Plugins N/A ### OpenCode version macOS Desktop 1.1.64 ### Steps to reproduce 1. Instruct the primary agent to create a subagent for some task involving an image. 2. See if the path given to the subagent is correct. ### Screenshot and/or share link _No response_ ### Operating System macOS 15.6 ### Terminal Ghostty
yindo added the bugweb labels 2026-02-16 18:11:56 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9220