Codex API Role Issues in chat and Responses API

Hey Folks!
I was trying to use local models in codex new app and cli both i got issue of using role: developer but majority of OpenAI Compatible API does only supports role: system, user, assistant, tool, function.

I haven’t seen and role: developer in API!

```
{“error”:{“message”:“{\“error\”:{\“code\”:null,\“message\”:\“developer is not one of [‘system’, ‘assistant’, ‘user’, ‘tool’, ‘function’] - 'messages.[‘0].role’\”,\“param\”:null,\“type\”:\“invalid_request_error\”},\“request_id\”:\“2bd745aa-197e-9f70-840a-7c74ef7f0455\”}”,“type”:“server_error”}}
```

I would really appreciate if anybody helps me ASAP ! :smiling_face:

Codex API models only work on the Responses API endpoint, not Chat Completions.

Additionally, your obsolete OpenAI SDK library is blocking you from sending the new “developer” role with a message. Update it, or program without it to send anything you want, or to even use new endpoints that are less than a year old.