-
Notifications
You must be signed in to change notification settings - Fork 11.1k
Open
Labels
coreAnything pertaining to core functionality of the application (opencode server stuff)Anything pertaining to core functionality of the application (opencode server stuff)discussionUsed for feature requests, proposals, ideas, etc. Open discussionUsed for feature requests, proposals, ideas, etc. Open discussion
Description
Feature hasn't been suggested before.
- I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
Add support to openai's Realtime API with WebSocket for existing models and remove older rest approach. This will make the responses ~30x faster for openai provider models.
Suggested edits:
- use the
ai-sdk-openai-websocket-fetchpackage from ai sdk as drop in replacemen. - extra add a onFinish in streamText to close the ws
For side by side comparision:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
coreAnything pertaining to core functionality of the application (opencode server stuff)Anything pertaining to core functionality of the application (opencode server stuff)discussionUsed for feature requests, proposals, ideas, etc. Open discussionUsed for feature requests, proposals, ideas, etc. Open discussion