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

Enhancement: Add streaming support for o1-preview and o1-mini #4759

Open
1 task done
hongkai-neu opened this issue Nov 19, 2024 · 0 comments
Open
1 task done

Enhancement: Add streaming support for o1-preview and o1-mini #4759

hongkai-neu opened this issue Nov 19, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@hongkai-neu
Copy link
Contributor

What features would you like to see added?

Streaming is now available for OpenAI o1-preview and o1-mini. The if condition below should be removed.

if (modelOptions.stream && this.isO1Model) {
delete modelOptions.stream;
delete modelOptions.stop;
}

More details

https://x.com/OpenAIDevs/status/1858609150999359559
https://platform.openai.com/docs/api-reference/streaming

Which components are impacted by your request?

General

Pictures

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant