Blarc / ai-commits-intellij-plugin

AI Commits for IntelliJ based IDEs/Android Studio.
https://plugins.jetbrains.com/plugin/21335-ai-commits
MIT License
297 stars 33 forks source link

GitHub Enterprise not supported #286

Open hemeroc opened 1 week ago

hemeroc commented 1 week ago

I get following message when verifying my GitHub Enterprise token that has Copilot permissions.

Status code 401, "{"error":{"code":"unauthorized","message":"Your account type is not currently supported","details":"Your account type is not currently supported"}}"

The exact same granular token scope for my other account yields

Configuration is valid.

Thanks a lot

Blarc commented 1 week ago

Hey @hemeroc,

this is a response from GitHub API. I'm not sure if this is a problem with the plugin?

hemeroc commented 1 week ago

Hey @hemeroc,

this is a response from GitHub API. I'm not sure if this is a problem with the plugin?

Most likely GitHub Cloud and GitHub Enterprise Cloud need to be treated differently. Could be that this is an upstream issue with langchain4j. ~Would you report it to langchain4j?~

Edit: Added a bug at langchain4j.