You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Responses API drops file_editor.view images (tool ImageContent not delivered to model) #1894
When the agent views an image via file_editor and the LLM uses the OpenAI Responses API, the tool's ImageContent is dropped during
serialization. The model never receives the image (no input_image / image_url in payload), so it says it “can’t see” the picture.
Steps to Reproduce
Use a vision-capable OpenAI model in Responses mode.
Call file_editor.view on an image file (png/jpg/etc.).
Inspect the serialized payload (LLM_PAYLOAD_LOG_PATH or logging): content contains the data: URL, but output_items lacks any input_image/image_url.
Expected
Tool observations containing images should be preserved and sent to the model in the Responses payload.
Actual
Images are stripped; only text outputs are sent. As Tony Horton in slack channel mentioned, agents do not say they had an issue accessing it, they just make something up.
Impact
Agents using Responses API cannot perceive images returned by file_editor.view.
Can lead to incorrect behaviors and wasted tokens/debug time.
Activity