You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue was written by OpenCode on behalf of the contributor.
Description
Custom providers that use @ai-sdk/openai currently rely on the SDK default selected by languageModel(). OpenCode has explicit Responses handling for the built-in openai provider, but without a regression test on the custom-provider path, contributors cannot tell from the test suite whether that fallback will stay on the Responses API.
This guarantee matters for me and other OpenCode developers because provider work regularly involves custom provider IDs, proxy endpoints, and transport-specific behavior. If languageModel() ever stopped resolving to the Responses path for @ai-sdk/openai, custom OpenAI-backed providers could silently drift onto the wrong protocol and break integrations in ways that are hard to catch during review.
Plugins
None
OpenCode version
Current dev branch
Steps to reproduce
Configure a custom provider that uses @ai-sdk/openai.
Rely on the default sdk.languageModel(...) path instead of the built-in openai provider override.
Observe that the previous test suite did not explicitly guarantee this path stays on Responses.
Note
This issue was written by OpenCode on behalf of the contributor.
Description
Custom providers that use
@ai-sdk/openaicurrently rely on the SDK default selected bylanguageModel(). OpenCode has explicit Responses handling for the built-inopenaiprovider, but without a regression test on the custom-provider path, contributors cannot tell from the test suite whether that fallback will stay on the Responses API.This guarantee matters for me and other OpenCode developers because provider work regularly involves custom provider IDs, proxy endpoints, and transport-specific behavior. If
languageModel()ever stopped resolving to the Responses path for@ai-sdk/openai, custom OpenAI-backed providers could silently drift onto the wrong protocol and break integrations in ways that are hard to catch during review.Plugins
None
OpenCode version
Current
devbranchSteps to reproduce
@ai-sdk/openai.sdk.languageModel(...)path instead of the built-inopenaiprovider override.Screenshot and/or share link
N/A
Operating System
macOS
Terminal
Ghostty