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

Rename max output tokens as per api docs #289

Merged
merged 1 commit into from
Nov 18, 2024
Merged

Rename max output tokens as per api docs #289

merged 1 commit into from
Nov 18, 2024

Conversation

codesoda
Copy link
Contributor

As per the docs at https://platform.openai.com/docs/api-reference/realtime-client-events/session/update

The name for MaxOutputTokens is max_response_output_tokens. I've renamed the enum and attribute accordingly.

Copy link
Owner

@64bit 64bit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the fix!

@64bit 64bit merged commit bd7a87e into 64bit:main Nov 18, 2024
ifsheldon pushed a commit to ifsheldon/async-openai-wasm that referenced this pull request Nov 23, 2024
Co-authored-by: Chris Raethke <[email protected]>
(cherry picked from commit bd7a87e)
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