Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Help Wanted]: How can I apply a Copilot-Enterprise liscense #440

Closed
2 tasks done
kphungry opened this issue Feb 20, 2024 · 9 comments
Closed
2 tasks done

[Help Wanted]: How can I apply a Copilot-Enterprise liscense #440

kphungry opened this issue Feb 20, 2024 · 9 comments
Labels
help wanted Extra attention is needed released

Comments

@kphungry
Copy link

Before Reporting

  • I have checked FAQ, and there is no solution to my issue
  • I have searched the existing issues, and there is no existing issue for my issue

Describe your issue

It seems that the extension doesnot support Copilot-Enterprise liscense. I want contribute some code to help that. But I have no idea where the Copilot-Enterprise document is. I think make some change to the signin part may help. It seems easy if only I can find the document.
I need some help.

@kphungry kphungry added the help wanted Extra attention is needed label Feb 20, 2024
@intitni
Copy link
Owner

intitni commented Feb 20, 2024

I am not sure about the enterprise license thing. There is no documentation. But from the source code of Copilot.vim, it seems that we can pass a dictionary about the enterprise authorization URL in the settings.

The dictionary was changed a while ago and more changes need to be made in this app. It's hard to explain, so I give it a spin. Please let me know if it works.

https://github.com/intitni/CopilotForXcode/releases/download/0.30.5.beta/Copilot.for.Xcode.github.copilot.enterprise.app.zip

If it doesn't, you can use the pull request as a hint about what to change.

@intitni
Copy link
Owner

intitni commented Feb 20, 2024

Actually the dictionary was changed in 1.19.0 but Copilot for Xcode is still using 1.17.0.

Please try this version instead

https://github.com/intitni/CopilotForXcode/releases/download/0.30.5.beta/Copilot.for.Xcode.github.copilot.enterprise.2.app.zip

@MichaelPei
Copy link

Actually the dictionary was changed in 1.19.0 but Copilot for Xcode is still using 1.17.0.

Please try this version instead

https://github.com/intitni/CopilotForXcode/releases/download/0.30.5.beta/Copilot.for.Xcode.github.copilot.enterprise.2.app.zip

I can see and config the Auth Provider URL for enterprise, but I can't see the button "Refresh Configuration for Enterprise and Proxy" in your merge request.

@intitni
Copy link
Owner

intitni commented Feb 22, 2024

@MichaelPei Please try the latest beta build. 0.30.5 beta 2.

@MichaelPei
Copy link

@MichaelPei Please try the latest beta build. 0.30.5 beta 2.

Actually I tried both, and the result were same, sorry about don't mention it before.

@intitni
Copy link
Owner

intitni commented Feb 22, 2024

@MichaelPei Please try the latest beta build. 0.30.5 beta 2.

Actually I tried both, and the result were same, sorry about don't mention it before.

Screenshot 2024-02-22 at 15 58 34

Maybe you were trying the enterprise build I posted above. It's in the beta 2

https://github.com/intitni/CopilotForXcode/releases/download/0.30.5.beta/Copilot.for.Xcode.app.0.30.5.beta.2.zip

@MichaelPei
Copy link

@MichaelPei Please try the latest beta build. 0.30.5 beta 2.

Actually I tried both, and the result were same, sorry about don't mention it before.

Screenshot 2024-02-22 at 15 58 34 Maybe you were trying the enterprise build I posted above. It's in the beta 2

https://github.com/intitni/CopilotForXcode/releases/download/0.30.5.beta/Copilot.for.Xcode.app.0.30.5.beta.2.zip

Wow, seems it worked!
I guess you are right, after uninstall previous version and redownload the file and install, it seems worked.
I changed the Feature provider from Codium to Copilot, still got suggestion.

Since the enterprise version of copilot provide chat, better to have it list for chat list.
But I thought I saw your response for other issue said no API for copilot chat, so I guess will not get soon.

Anyway, thank you! Wait for release and other who had enterprise account could use it.

@intitni
Copy link
Owner

intitni commented Feb 22, 2024

@MichaelPei Chat support is planned, it will be the next thing to work on once I finished the suggestion service updates. You can follow this issue #380 for updates (But I think I will work on Codeium chat first). You can also find a workaround at the bottom of the issue.

@intitni
Copy link
Owner

intitni commented Feb 22, 2024

Released in 0.30.5

@intitni intitni closed this as completed Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed released
Projects
None yet
Development

No branches or pull requests

3 participants