openai-python
openai-python copied to clipboard
fix(types): add "developer" role to support O-series models
The OpenAI API now supports a "developer" role specifically for O-series models, but this role was missing in the type definitions. This update adds the "developer" role to ChatCompletionRole type alias to prevent IDE warnings while maintaining compatibility with the actual API behavior.
- [x] I understand that this repository is auto-generated and my pull request may not be merged