gpt-5.2-codex TypeError: sdk.responses is not a function. (In 'sdk.responses(modelID)', 'sdk.responses' is undefined) #6091

Open
opened 2026-02-16 18:00:22 -05:00 by yindo · 0 comments
Owner

Originally created by @dztabel-happy on GitHub (Jan 15, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

使用gpt-5.2-codex(oauth)会出现如下错误:TypeError: sdk.responses is not a function. (In 'sdk.responses(modelID)', 'sdk.responses' is undefined) opencode已更新到最新版

Plugins

oh-my-opencode", "opencode-antigravity-auth@1.2.8", "opencode-openai-codex-auth", "opencode-antigravity-auth"

OpenCode version

1.1.21

Steps to reproduce

使用 "opencode-openai-codex-auth",登录 gpt plus 账号,打开 opencode ,选择模型 gpt-5.2-codex(oauth),即可出现如上问题

Screenshot and/or share link

https://opncd.ai/share/RoddTtt2

Operating System

macOS 26.2

Terminal

warp

Originally created by @dztabel-happy on GitHub (Jan 15, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description 使用gpt-5.2-codex(oauth)会出现如下错误:TypeError: sdk.responses is not a function. (In 'sdk.responses(modelID)', 'sdk.responses' is undefined) opencode已更新到最新版 ### Plugins oh-my-opencode", "opencode-antigravity-auth@1.2.8", "opencode-openai-codex-auth", "opencode-antigravity-auth" ### OpenCode version 1.1.21 ### Steps to reproduce 使用 "opencode-openai-codex-auth",登录 gpt plus 账号,打开 opencode ,选择模型 gpt-5.2-codex(oauth),即可出现如上问题 ### Screenshot and/or share link https://opncd.ai/share/RoddTtt2 ### Operating System macOS 26.2 ### Terminal warp
yindo added the bug label 2026-02-16 18:00:22 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#6091