Skip to content

Codex VS Code extension no longer allows attaching non-image files #9978

@devoren

Description

@devoren

What version of Codex is running?

codex extension v0.4.67

What subscription do you have?

Plus

Which model were you using?

gpt-5.2

What platform is your computer?

Darwin 24.6.0 arm64 arm

What terminal emulator and version are you using (if applicable)?

No response

What issue are you seeing?

In the Codex integration inside VS Code, it is no longer possible to attach files (e.g. source code files, text files, or other context files) to a prompt or follow-up request.
Previously, files could be attached directly for context, but now the UI only allows attaching images.

This makes it impossible to provide non-image context (code files, configs, logs, etc.) through the attachment flow.

Image

What steps can reproduce the bug?

1.	Open VS Code with the Codex extension enabled.
2.	Start a new Codex prompt or click “Ask for follow-up changes”.
3.	Click the attachment button (plus icon / attach files).
4.	Observe that only image attachments are supported.
5.	There is no option to select or attach non-image files (e.g. .ts, .go, .json, .md).

What is the expected behavior?

Image

The attachment dialog should allow selecting and attaching general files (text/code/config files), not only images, as it did previously.

If this is an intentional change, it would be helpful to clarify:
• whether file attachments were removed by design, and
• what the recommended way is to provide file-based context (code, configs, logs) going forward.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingextensionIssues related to the VS Code extension

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions