I find that Codex model (currently using gpt-5.2-codex in VSCode) often misses closing tags, and then expends a lot of thinking time tracking down something pretty simple, like:
[plugin:vite:react-babel] C:\xxxxxxx.tsx: Expected corresponding JSX closing tag for <>. (2339:12)
2342 |
And even then upon correcting it, it’ll often create a new such error.
Anyone have any advice on how I can improve my workflow or anything to make this less likely (or less costly)?
Cheers!
1 Like
if you notice something occuring with some frequency, I tend to include corrective measures either in prompt with a copy paste buffer I have specifically for new coding prompts that contains something to the effect of “You have a habit of missing the closing tags for typescript, please remember to ensure you double check and make sure all tags are closed” or place that in an agents.md or whatever common read every time file your IDE/Codex style CLI agentic coding assistant flavour makes use of.
5 Likes
Great tip. Thank you! [adding characters due to lower limit – but anyway, great tip lol]
1 Like
That’s great tips so far….