Skip to content

OpenAI Auth - ChatGPT Subscription option not available to use #18582

@adiagarwalrock

Description

@adiagarwalrock

Description

I am unable to use ChatGPT login method in opencode.

  • The option was previously available and from past 2 days that has vanished and I am not able to log-in.
adiagarwal@pc:~$ opencode providers list

┌  Credentials ~/.local/share/opencode/auth.json
│
●  Google api
│
●  GitHub Copilot oauth
│
└  2 credentials

adiagarwal@pc:~$ opencode providers login

┌  Add credential
│
◇  Select provider
│  OpenAI
│
■  Enter your API key
│

I tried re-installing opencode (without config and data wipe); issue remains.

Plugins

N/A

OpenCode version

1.2.27

Steps to reproduce

No response

Screenshot and/or share link

Image

It is stuck in this state where the application says GPT models are available but on query they are not.
Image

Operating System

Windows 11

Terminal

wsl - Ubuntu

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions