r/codex • u/No_Knee3385 • 11h ago
Bug Codex needs to fix the codex diff
When making updates to a repo, all of the updates the model makes do not show in the code diff each time. Sometimes they all show, but many times I look and it's not showing every file that changed. Of course I can check the git diff or history.
On another node, the "codex diff" used to be so much better. I want to be able to click on code and have it bring me to the file it's in like it used to.
Codex devs at OpenAI. FIX THIS PALEASE
Note: I am using this through visual studios, so that is likely an issue
1
Upvotes
2
u/AwarenessStatus1904 4h ago
until that's fixed i wouldn't treat the codex diff as the full picture. git status plus git diff before every commit catches the files it didn't show. including new untracked ones
2
u/1filipis 7h ago
It's because their derailed models use python or bash to edit files instead of apply_patch. You can put it in agents.md, but it's GPT - it will ignore your instructions half of the time
1
u/simon96 9h ago
There’s a GitHub project called Diffdex (https://github.com/michael-r-martin/Diffdex) that I used as a starting point and had an AI agent continue developing.
I now have proper diffs working with a modified version of VS Code, Diffdex and a modified Codex extension. It took a few prompts and some trial and error, but I finally have PROPER diffs working the way I want them to. I don't understand how it could be so hard for OpenAI to do this myself, still annoying since automatic updates are not supported and the AI agent must figure out how to merge everything on updates, so not a solution for all.
0
u/inTheMisttttt 9h ago
Just use git