@ file reference suggestions do not appear for files with long paths

Open 💬 0 comments Opened May 27, 2026 by Sakura0122

What version of the Codex App are you using (From “About Codex” dialog)?

26.519.81530 (build 3178)

What subscription do you have?

ChatGPT Plus

What platform is your computer?

25.4.0 arm64 arm

What issue are you seeing?

When using @ to reference a file in Codex, file suggestions stop appearing if the file path is too long.

<img width="1590" height="360" alt="Image" src="https://github.com/user-attachments/assets/b5818473-f9e7-46c6-9dd9-7dede7f3079d" />

<img width="1516" height="180" alt="Image" src="https://github.com/user-attachments/assets/93a7207a-b5b6-4ad8-845c-417e9bfd4e68" />

What steps can reproduce the bug?

  1. Open Codex App.
  2. Work in a project or folder that contains files under a long nested path.
  3. In the prompt box, type @ and start typing the file name or path.
  4. Observe that no file suggestion appears for the file with the long path.

What is the expected behavior?

No suggestion appears, so the file cannot be selected through the @ reference UI.

Additional information

Shorter paths appear to work normally. The issue seems related to path length rather than the file itself.

View original on GitHub ↗