GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [FEATURE]: enable responses API in openai compatible provider · Issue #9628 · anomalyco/opencode

[FEATURE]: enable responses API in openai compatible provider #9628

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
[FEATURE]: enable responses API in openai compatible provider#9628
Copy link
Assignees
thdxr

Description

@scratchmex
scratchmex
opened on Jan 20, 2026
Issue body actions

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

We need an option for OpenAI compatible models like suggested in #5866 as well. I think it should be the default to use responses API for models that are intenfed to be used that way, like codex, same as proposed in above issue

Reacted by Simon Knittel, Hēsperus and Enty
Reacted by Quack, jiminj-nvidia, Anchit Bajaj, Vonfry, Ryan, Arsham Shirvani, PatrickPjt, John Brock, Brian Martin, Yevhen Salitrynskyi and 6 more

Activity

  1. scratchmex
    added
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    on Jan 20, 2026
  2. github-actions
    assigned
    thdxr
    on Jan 20, 2026
  3. github-actions commented on Jan 20, 2026

    @github-actions
    github-actionsBot
    on Jan 20, 2026 – with GitHub Actions
    Contributor
    More actions

    This issue might be a duplicate of existing issues. Please check:

    • [BUG]: GitHub Copilot Responses API routing for GPT-5+ #5866: [BUG]: GitHub Copilot Responses API routing for GPT-5+ - Already proposes adding a useResponsesApi option for OpenAI-compatible providers with similar intent
    • [Feature Request] Support traditional Chat Completions API for OpenAI provider #7793: [Feature Request] Support traditional Chat Completions API for OpenAI provider - Related discussion on routing between Chat Completions and Responses APIs for OpenAI-compatible providers
    • gpt-5.2-codex TypeError: sdk.responses is not a function. (In 'sdk.responses(modelID)', 'sdk.responses' is undefined) #8622: gpt-5.2-codex TypeError: sdk.responses is not a function - Related bug where responses API is expected but not available

    Feel free to ignore if none of these address your specific case.

  4. Vonfry commented on Jan 27, 2026

    @Vonfry
    Vonfry
    on Jan 27, 2026
    More actions

    For responses api, you can use "@ai-sdk/openai" directly, IMO.

    For example:

    custom-provider = {
      npm = "@ai-sdk/openai";
      name = "OpenAI proxy";
        options = {
          apiKey = "{file:...}";
          baseURL = "https://.../v1";
        };
        models = {
          "gpt-5.2-codex" = {
             name = "GPT!";
            };
         };
     };
    Reacted by Álvaro Sánchez-Mariscal, 鐘翊修 and Kevin Weis
  5. DeluxeOwl commented on Feb 6, 2026

    @DeluxeOwl
    DeluxeOwl
    on Feb 6, 2026
    More actions

    The solution above doesn't show reasoning

  6. Vonfry commented on Feb 6, 2026

    @Vonfry
    Vonfry
    on Feb 6, 2026
    More actions

    Do you try following configurations:

    options = {
      reasoningEffort = "xhigh";
      textVerbosity = "high";
      reasoningSummary = "detailed";
    };
  7. rekram1-node commented on Mar 25, 2026

    @rekram1-node
    rekram1-node
    on Mar 25, 2026
    Member
    More actions

    You can already do this:

    "my-custom-provider": {
          "api": "https://my-provider.api.io/inference",
          "npm": "@ai-sdk/openai-compatible",
          "models": {
            "gpt-4.1": {},
            "gpt-5.3-codex": {
              "provider": {
                "npm": "@ai-sdk/openai",
              },
            },
          },
        },
    

    When u use the openai-compatible provider it only supports completions, if u want to use responses u need to use ai-sdk/openai instead, just make sure the url is setup correctly.

    U can override the baseline provider settings per model (see ex)

    Reacted by Ng Han Seng
  8. PadishahIII commented on Apr 24, 2026

    @PadishahIII
    PadishahIII
    on Apr 24, 2026
    More actions

    Hey guys, I implemented a first-class codex provider in my fork (https://github.com/PadishahIII/opencode) and I'm using my codex forwarding subscription in opencode pretty good. I've tested OmO and superpowers which works normally. I would like to turn my fork into a PR if maintainers are interested.

    My fork: https://github.com/PadishahIII/opencode
    About my private build: https://github.com/PadishahIII/opencode/blob/dev/docs/codex-private-build-guide.md

  9. thdxr
    removed
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    on May 3, 2026
  10. github-actions commented on Jul 6, 2026

    @github-actions
    github-actionsBot
    on Jul 6, 2026 – with GitHub Actions
    Contributor
    More actions

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

  11. github-actions
    closed this as not plannedon Jul 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @thdxr
    thdxr

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.