opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Github Copilot Claude 4 Error

Open cvcb2828 opened this issue 1 year ago • 3 comments

I used the opencode with GitHub Copilot as the provider, but it gives an error when choosing Claude 4 as the model, even though it is supported in the list of models.

Image

cvcb2828 avatar Jul 11 '25 16:07 cvcb2828

How did you solve it? Im having the same issue

diegopluna avatar Jul 15 '25 17:07 diegopluna

@diegopluna and any others stumbling upon this issue.

Check if the models you want to use is enabled at https://github.com/settings/copilot/features.

Even if you have a paid Copilot plan on either your personal account or through an organization or enterprise you need to enable the different models before they can be used.

wolffberg avatar Jul 17 '25 07:07 wolffberg

@diegopluna Try using Claude 4 in VSCode's own copilot, if it asks for any authorization, accept it, then use it again in opencode, mine worked like this

cvcb2828 avatar Jul 19 '25 22:07 cvcb2828