Missing Workdir

Resolved 💬 3 comments Opened Apr 22, 2025 by pedroarthurn Closed Apr 22, 2025

What version of Codex is running?

0.1.2504220136

Which model were you using?

o4-mini

What platform is your computer?

linux | x64 | 5.15.167.4-microsoft-standard-WSL2

What steps can reproduce the bug?

  • ```

explain this code
```

  • 0 reasoning | 0 tool
  • ```

explain workdir: /mnt/c/Users/pedro.soares/app/codex
```

  • 0 reasoning | 0 tool

What is the expected behavior?

_No response_

What do you see instead?

_No response_

Additional information

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

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗