Closed hongkai-neu closed 5 days ago
Streaming with o1-mini and o1-preview work fine with OpenAI/OpenRouter but haven’t been tested with Azure OpenAI due to no API access.
Streaming with o1-mini and o1-preview work fine with OpenAI/OpenRouter but haven’t been tested with Azure OpenAI due to no API access.
Add streaming support for o1 models
Issue #4759 : Enhancement: Add streaming support for o1-preview and o1-mini
Summary
This PR adds streaming support for o1 models by removing the if condition that was checking if the model was o1 before deleting the modelOptions.stream and modelOptions.stop parameters in the OpenAIClient.js file.
Change Type
Testing
Backend unit tests are passed: npm run test:api
Checklist