workdir bug

Resolved 💬 5 comments Opened Apr 22, 2025 by teunv05 Closed Apr 22, 2025
💡 Likely answer: A maintainer (tibo-openai, collaborator) responded on this thread — see the highlighted reply below.

What version of Codex is running?

0.1.2504220136

Which model were you using?

o4-mini

What platform is your computer?

darwin | arm64 | 24.4.0

What steps can reproduce the bug?

  • ```

maak een simpele index.html
```

  • 0 reasoning | 0 tool

What is the expected behavior?

_No response_

What do you see instead?

system
⚠️ OpenAI rejected the request (request ID:
req_f6666fc2d7f4e93d8bc41101b6c5f6d0). Error details: Status: 400, Code:
invalid_function_parameters, Type: invalid_request_error, Message: 400
Invalid schema for function 'shell': In context=(), 'required' is required
to be supplied and to be an array including every key in properties. Missing
'workdir'.. Please verify your settings and try again.

Additional information

_No response_

View original on GitHub ↗

5 Comments

xsirio · 1 year ago

The same OpenAI rejected the request (request ID: req_7082a17677978f837eaa4329d5784b19). Error details: Status:
400, Code: invalid_function_parameters, Type: invalid_request_error, Message: 400 Invalid schema for
function 'shell': In context=(), 'required' is required to be supplied and to be an array including every
key in properties. Missing 'workdir'.. Please verify your settings and try again.

sabari245 · 1 year ago

There appears to be some schema updates. you can downgrade your codex version to @openai/codex@0.1.2504211509. This seems to work fine

wshobson · 1 year ago

+1

tibo-openai collaborator · 1 year ago

Please install latest version (0.1.2504221401).