Codex cannot read an uploaded HTML/PDF/any file that appears under Sources

Open
#64,242 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
47/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
html, rust
Domain
backend, desktop

Research direction

The report describes a Codex app attachment that appears in the conversation and Sources but is unavailable to the assistant, especially for files uploaded in a new app conversation. Start by tracing how new conversations attach uploaded files to Sources and how those files are passed into the assistant context; compare that path with files opened from web-created conversations. Done means follow-up messages can use the uploaded files or explain which visible attachment cannot be read.

Written by the indexing model from the issue text.

Description

app bug model-behavior
What version of the Codex App are you using (From “About Codex” dialog)?

26.1120.50957

What subscription do you have?

plus

What platform is your computer?

Darwin 25.6.0 arm64 arm

What issue are you seeing?

I uploaded 13F机构持仓档案(2).html in the Codex App. The file appeared as an HTML attachment in the conversation and was listed under Sources in the right sidebar. When I asked Codex to summarize the file in the same conversation, it said it could not see any attachments.

Steps to reproduce
  1. Upload and send an HTML file in a Codex App conversation.
  2. Confirm that the file appears in the conversation and under Sources.
  3. Send a follow-up message in the same conversation. I sent “你能看到我上传的文件吗?总结文件” (“Can you see the file I uploaded? Please summarize it.”).
Actual behavior

The file remained visible in the conversation and under Sources. Codex did not provide a summary and replied in Chinese:

我目前在这段对话里看不到附件。请重新上传文件,或直接粘贴正文,我就能帮你总结主要内容和关键结论。

English translation: “I currently can’t see any attachments in this conversation. Please upload the file again or paste its contents directly, and I can summarize the main points and key conclusions.”

Expected behavior

Codex should be able to use the attached file when I refer to it in a follow-up message. If it cannot access the file or read its format, it should identify the visible attachment and explain the limitation.

Could you investigate why the attachment appears in both the conversation and Sources while Codex reports that it cannot see it?

bug
What steps can reproduce the bug?

Feedback ID: c2f79b1b-3d52-4605-bc11-883748741af8

What is the expected behavior?

Codex should be able to use the attached file when I refer to it in a follow-up message. If it cannot access the file or read its format, it should identify the visible attachment and explain the limitation.

Could you investigate why the attachment appears in both the conversation and Sources while Codex reports that it cannot see it?

Additional information
  1. I can upload files of any type in ChatGPT on the web without any issues.
  2. After uploading a file on the web, I can open the same conversation in the ChatGPT app and use the file normally.
  3. In the app, I can access those files in Codex mode.
  4. I can also access them in Chat mode.
  5. The issue only occurs when I start a brand-new conversation directly in the ChatGPT app and upload a file there. The app doesn’t recognize any of the files I upload this way, including PDFs, PowerPoint presentations, and Word documents.
Dominant language
Rust
Stars
136k
Forks
21.6k
Avg merge
1m
Merged PRs (30d)
997

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openai/codex

All issues in openai/codex

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.