Skip to content

ChatGPT token sharing: changing reasoning effort causes HTTP 400 and breaks session continuation #63073

Closed as duplicate

Description

@BR7RKR

Description

THIS IS A COPY OF THIS ISSUE: #54075
It is marked as closed but in fact there was no PR with the fix.
PR PR #49469 was closed automatically by a bot without merge.

Description

After signing in with ChatGPT token sharing, openai/gpt-6.1-sol completed the first turn at high, including tool calls. Changing the reasoning variant mid-session to max caused HTTP 400. Retrying at xhigh, switching back to high, and restarting with opencode -s <session-id> still failed.

UI error: "This request uses a feature ChatGPT token sharing doesn't support. Remove the unsupported feature and try again."

Expected: changing a supported reasoning setting should work, or an unsupported change should be prevented without leaving subsequent requests failing.

Actual server response

HTTP 400:

{
  "error": {
    "message": "User subscription sharing currently supports only text, image, and file messages, item references, additional tools, compaction summaries, reasoning items, Web Search call items, developer function and custom tool call items, and programmatic tool calling items. Remove unsupported input items or use an API key instead.",
    "type": "invalid_request_error",
    "param": "input",
    "code": "subscription_sharing_unsupported_capability"
  }
}

Suspected cause

Variant-switch conversion creates effort markers; Responses serialization turns them into configuration_update input items. An offline check of the installed bundle's conversion functions confirmed this for all recorded switches, including the return to high.

This suggests a token-sharing compatibility gap: the server's allowed input types omit this item, and retained switch history may explain repeated failures. Evidence is from recorded errors and offline conversion; the final outgoing request body was not captured, and a separate fresh-session online reproduction was not run.

Plugins

superpowers@git+https://github.com/obra/superpowers.git (configured)

OpenCode version

@opencode/cli 2.0.26

Steps to reproduce

Observed sequence:

  1. Sign in with ChatGPT token sharing.
  2. Complete a turn with openai/gpt-6.1-sol at high.
  3. Change the variant to max and submit the next request.
  4. After the failure, retry at xhigh, then high; restart and resume the same session. The same HTTP 400 persists.

Screenshot

No response

Operating System

macOS 26.6.2, arm64

Terminal

No response

Activity

  1. opencodejr commented on Nov 10, 2026

    @opencodejr
    Contributor

    Thanks for following up. I think this is a duplicate of #54075, which was fixed. #49469 was a different PR (a revert) that was closed without merging, but the actual fix is #54085, which was merged and closed #54075.

    #54085 turns off effort-update markers for ChatGPT token-sharing connections. When you switch the reasoning variant, OpenCode no longer sends configuration_update input items. It sends the new effort as the top-level reasoning.effort instead. The fix shipped in 2.0.27, and you're on 2.0.26, so it isn't in your build.

    Please upgrade to the latest @opencode/cli and try again, including resuming the affected session.

    Related issues and PRs, ordered by likelihood:

    The bot will close this issue as a duplicate in 1 day unless you reply. If the same HTTP 400 still happens on 2.0.27 or later, please reply with your opencode --version and we'll keep this open.

  2. neriousy commented on Nov 10, 2026

    @neriousy
    Member

    Thanks! This was fixed in #54085 (tracked in #54075) and shipped in 2.0.27. You're on 2.0.26, so please update. Reopen if it still happens on the latest version.

  3. opencodejr commented on Nov 11, 2026

    @opencodejr
    Contributor

    Closing this as a duplicate of #54075, since we haven't heard back.

    #54075 was fixed by #54085, which first shipped in 2.0.27. (#49469 was a different PR and was never merged.) Since 2.0.27, switching the reasoning variant on a ChatGPT token-sharing connection no longer sends configuration_update items, so the HTTP 400 subscription_sharing_unsupported_capability error from 2.0.26 shouldn't happen anymore.

    Please upgrade to the latest @opencode/cli. If you still get the error on 2.0.27 or later, comment here with your opencode --version and we can reopen this. Thanks for the detailed report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions