Skip to content
Discussion options

You must be logged in to vote

Hi,

it looks like GitHub now requires fine-grained Personal Access Tokens (PATs) to have explicit models:read permissions in order to use their models. See announcement.

So even though your setup worked earlier (likely with a coarse-grained token or before the permission was enforced), newer tokens must include models:read to continue working.

  1. Create a new fine-grained PAT via GitHub Developer Settings.
  2. Select the models:read permission when setting the scopes.
  3. Replace your old token with the new one in the AI configuration under apiKey.

Coarse-grained tokens (the older style) don’t require this permission and should still work.

We'll update the blog post, thanks for letting us know!

I …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sowjanyagunupuru
Comment options

Answer selected by sowjanyagunupuru
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants