-
Notifications
You must be signed in to change notification settings - Fork 24
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
Investigate how to supported dedicated Copilot Environments (Org Tenants) #114
Comments
Copilot has Advanced configurations. Here we can see that it checks the config setting of path It looks for the value 61405: (e, t, n) => {
"use strict";
Object.defineProperty(t, "__esModule", { value: !0 }),
(t.onDidChangeConfigurationHandler = t.VSCodeNetworkConfiguration =
void 0);
const r = n(89496),
i = n(44197),
o = n(42512),
s = n(30047),
a = "github-enterprise",
c = "https://github.com";
function l() {
return r.workspace
.getConfiguration(i.CopilotConfigPrefix)
.get("advanced")?.authProvider === s.AuthProviderId.GitHubEnterprise
? ra.workspace.getConfiguration(a).get("uri") ?? c
: c;
} |
I guess we could use the project settings( |
I think we can have it at both locations. Main settings and project level settings. I am working to update this today as I start testing. I think it is pretty straight forward in that we only need these settings present and no other changes are required. |
Any plan to release this update, reference VS Code. I think it's easy to add some config like: "github.copilot.advanced": {
"authProvider": "github-enterprise",
},
"github-enterprise.uri": "", |
Feel free a create a PR if in your test, it's just to add a config to make it work. |
@raffeyang I've not fully tested but I believe this is already supported Just add to your settings {
"command": [
"${node_bin}",
"${server_path}",
"--stdio"
],
"schemes": [
"file",
"buffer",
"res"
],
"settings": {
"auto_ask_completions": true,
"debug": false,
"hook_to_auto_complete_command": false,
"local_checks": false,
"telemetry": false,
"proxy": "",
"completion_style": "popup",
"github-enterprise": {
"uri": "URI HERE"
}
},
// ST4 configuration
"selector": "source | text | embedding"
} |
At the Organization I work at, we are looking to use Copilot with a dedicated tenant. This begs the question, how can this be supported at the plugin level.
Will update here as I get more thoughts.
I am going to review the VS Code plugin and see if there is a missed setting for specifying tenant or how it may work
The text was updated successfully, but these errors were encountered: