fix: enable useLegacyCompletionsEndpoint to use openai package streaming#10026
Open
uinstinct wants to merge 6 commits intocontinuedev:mainfrom
Open
fix: enable useLegacyCompletionsEndpoint to use openai package streaming#10026uinstinct wants to merge 6 commits intocontinuedev:mainfrom
useLegacyCompletionsEndpoint to use openai package streaming#10026uinstinct wants to merge 6 commits intocontinuedev:mainfrom
Conversation
RomneyDa
requested changes
Jan 31, 2026
Collaborator
RomneyDa
left a comment
There was a problem hiding this comment.
@uinstinct since stream is already in completion options, how does this impact functionality? I think we should avoid adding a duplicate configuration option.
- already completionoptions.stream is present
91a97d2 to
ac5b8dc
Compare
useLegacyCompletionsEndpoint to use openai package streaming
Contributor
Author
My bad - I thought since completionOptions.stream was removed from config.yaml reference doc, support was dropped. Added that back to the config.yaml reference in docs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add supports for
useLegacyCompletionsEndpointto use openai adapter streaming.closes CON-5285
AI Code Review
@continue-reviewChecklist
Screen recording or screenshot
[ When applicable, please include a short screen recording or screenshot - this makes it much easier for us as contributors to review and understand your changes. See this PR as a good example. ]
Tests
[ What tests were added or updated to ensure the changes work as expected? ]
Continue Tasks:▶️ 1 queued · ✅ 1 no changes — View all
Summary by cubic
Disables streaming for OpenAI o-series/GPT-5 when the legacy completions endpoint is used, aligning behavior with model constraints. Addresses CON-5285.
Written for commit be39317. Summary will update on new commits.