Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(types): add "developer" role to support O-series models #2071

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

yenslife
Copy link

@yenslife yenslife commented Feb 2, 2025

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.

  • I understand that this repository is auto-generated and my pull request may not be merged

Changes being requested

Additional context & links

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.
@yenslife yenslife requested a review from a team as a code owner February 2, 2025 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants