feat(opencode): add OpenAI WebSocket transport with incremental follow-up handling#15038
Open
nick-potts wants to merge 5 commits intoanomalyco:devfrom
Open
feat(opencode): add OpenAI WebSocket transport with incremental follow-up handling#15038nick-potts wants to merge 5 commits intoanomalyco:devfrom
nick-potts wants to merge 5 commits intoanomalyco:devfrom
Conversation
# Conflicts: # bun.lock # packages/app/package.json # packages/console/app/package.json # packages/console/core/package.json # packages/console/function/package.json # packages/console/mail/package.json # packages/desktop/package.json # packages/enterprise/package.json # packages/extensions/zed/extension.toml # packages/function/package.json # packages/opencode/package.json # packages/plugin/package.json # packages/sdk/js/package.json # packages/slack/package.json # packages/ui/package.json # packages/util/package.json # packages/web/package.json # sdks/vscode/package.json
Author
|
https://gist.github.com/nick-potts/2d0b5af88e5d0909f8a3204b98fa1a2f helpful with debuggin codex vs openai |
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.
Issue for this PR
Closes #14891
Type of change
What does this PR do?
Adds an experimental WebSocket transport for Responses API streaming and follow-up turns, including incremental input handling with Codex/OpenAI dialect safeguards.
Note: the incremental logic is quite crude and meant more as a proof of concept. I've put both features behind experimental flags.
How did you verify your code works?
Tested both openai and codex auth.
Checklist