Missing 'workdir'

Resolved 💬 2 comments Opened Apr 22, 2025 by pae23 Closed Apr 22, 2025

What version of Codex is running?

0.1.2504220136

Which model were you using?

o4-mini-2025-04-16

What platform is your computer?

linux | x64 | 6.8.0-58-generic

What steps can reproduce the bug?

  • ```

?
```

  • 0 reasoning | 0 tool

What is the expected behavior?

Having an answer.

What do you see instead?

system
OpenAI rejected the request (request ID:
req_xxxxxxxxxxxxxxxxxxxxxxx). 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

I'm encountering an issue when using Codex after updating to the latest version. The previous version (@openai/codex@0.1.2504211509) still works well.

View original on GitHub ↗

2 Comments

Arthurmtro · 1 year ago

how did you fixed it ?

pae23 · 1 year ago

@Arthurmtro I installed the previous stable version instead (@openai/codex@0.1.2504211509) and closed my issue because someone else had already opened one before me.