bug: gpt-4.1-mini, all created files are empty

Resolved 💬 2 comments Opened Apr 25, 2025 by PhantomYdn Closed Apr 25, 2025
💡 Likely answer: A maintainer (fouad-openai, contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

0.1.2504221401

Which model were you using?

gpt-4.1-mini

What platform is your computer?

darwin | arm64 | 24.3.0

What steps can reproduce the bug?

  • ```

Create a Vue3 SPA project there which allow to see user himself/herself through a build in camera, apply some filters and download results.
```

  • 2 reasoning | 13 tool
  • ```

Yes
```

  • 4 reasoning | 7 tool
  • ```

flush all changes to harddrive.
```

  • 1 reasoning | 1 tool
  • ```

Files are empty. Check that you did everthing correctly.
```

  • 1 reasoning | 4 tool
  • ```

Update by yourself
```

  • 2 reasoning | 2 tool

What is the expected behavior?

Expected that files are created with some code/content, but they are just empty.

What do you see instead?

See all files are just empty

Additional information

_No response_

View original on GitHub ↗

2 Comments

PhantomYdn · 1 year ago

Generated commands by codex looks like:

    $ echo '{
      "name": "vue-camera-app",
      "version": "1.0.0",
      "scripts": {
        "serve": "vite",
        "build": "vite build"
      },
      "dependencies": {
        "vue": "^3.2.0"
      },
      "devDependencies": {
        "vite": "^4.0.0"
      }
    }
    > package.json'

Obviously, nothing will be really stored in a file. Kinda simple, stupid mistake in autogenerated code:)

fouad-openai contributor · 1 year ago

tracking in #593 - we'll have this fixed soon, sorry about that!