Skip to content

Commit 744d479

Browse files
authored
Merge pull request #36357 from github/repo-sync
Repo sync
2 parents b11f857 + 3c99990 commit 744d479

File tree

22 files changed

+173
-29
lines changed

22 files changed

+173
-29
lines changed

.devcontainer/devcontainer.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,15 @@
5757
}
5858
},
5959

60-
// Use 'onCreateCommand' to run commands after the container is created.
60+
// Lifecycle commands
6161
"onCreateCommand": "npm ci",
62+
"postStartCommand": "nohup bash -c 'npm start &'",
6263

6364
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
6465
"remoteUser": "node",
6566

6667
"hostRequirements": {
67-
"memory": "16gb"
68+
"memory": "16gb",
69+
"cpus": "4"
6870
}
6971
}

content/admin/administering-your-instance/administering-your-instance-from-the-command-line/command-line-utilities.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -543,6 +543,18 @@ This utility returns webhook delivery logs for administrators to review and iden
543543
ghe-webhook-logs
544544
```
545545

546+
{% ifversion ghes > 3.10 %}
547+
To show all hook deliveries filtered by a given event:
548+
549+
```shell
550+
ghe-webhook-logs --event issues
551+
```
552+
553+
To show all hook deliveries filtered by a given event and action:
554+
555+
```shell
556+
ghe-webhook-logs --event issues.opened
557+
{% endif %}
546558
To show all failed hook deliveries in the past day:
547559

548560
```shell

content/admin/managing-accounts-and-repositories/managing-organizations-in-your-enterprise/adding-organizations-to-your-enterprise.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ During a trial of {% data variables.product.prodname_ghe_cloud %}, you can creat
8585

8686
Enterprise owners can invite existing organizations to join their enterprise account.
8787

88-
During a trial of {% data variables.product.prodname_ghe_cloud %}, you can invite organizations to join your trial enterprise. You can invite organizations that are not currently owned by another enterprise. If an organization you want to invite is already owned by another enterprise, you must be an owner of both enterprise accounts and initiate an organization transfer. See [Transferring an existing organization](#transferring-an-existing-organization).
88+
During a trial of {% data variables.product.prodname_ghe_cloud %}, you can invite organizations to join your trial enterprise. You can invite organizations that are not currently owned by another enterprise. If an organization you want to invite is already owned by another enterprise, you cannot invite it to your trial enterprise.
8989

9090
After you invite the organization, and before an owner approves the invitation, you can cancel or resend the invitation at any time.
9191

content/admin/managing-accounts-and-repositories/managing-repositories-in-your-enterprise/managing-custom-properties-for-repositories-in-your-enterprise.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,15 @@ You can add custom properties to your enterprise to make those properties availa
4242
1. Optionally, select **Allow repository actors to set this property**. When enabled, repository users and apps with the repository-level `custom properties` fine-grained permission will be able to set and update the property value for their repository. Additionally, any actor creating a repository can set the property on the repository.
4343
1. Optionally, select **Require this property for all repositories** and add a default value. This means that you require that all repositories in your enterprise have a value for this property. Repositories that don’t have an explicit value for this property will inherit the default value.
4444
1. Click **Save property**.
45+
46+
## Promoting organization properties to enterprise properties
47+
48+
You can promote a property from an organization to your enterprise account, to ensure that property name and values are available for use across all organizations in the enterprise.
49+
50+
{% data reusables.enterprise-accounts.access-enterprise %}
51+
1. In the left sidebar, under "Policies", click **Custom properties**.
52+
1. To see all properties managed by organizations, select **Filter** and choose the qualifier **Managed by** and **organization** as the value, or enter `managed-by:organization` in the filter bar.
53+
1. Optionally, to see properties managed by a specific organization, select **Filter** and choose the qualifier **Organization** and an organization name as the value, or enter `org:<ORGANIZATION-NAME>` in the filter bar.
54+
1. From the list of properties, select the property name that you want to promote. This takes you to the property details page.
55+
1. To promote the selected property, click **Promote to enterprise**. The property name must be unique across all organizations in the enterprise otherwise the promotion will not be permitted.
56+
1. Click **Promote**.

content/admin/overview/setting-up-a-trial-of-github-enterprise-cloud.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ After you set up your trial, you can explore {% data variables.product.prodname_
6262
You can create up to **three new organizations** in the trial enterprise, or transfer any number of existing organizations.
6363

6464
* You cannot transfer organizations that have free or paid {% data variables.product.prodname_marketplace %} apps. Free apps are supported for new organizations in the trial.
65+
* You cannot transfer organizations that are already owned by another enterprise.
6566
* Billing for transferred organizations is paused during the trial and any coupons are removed. To reapply a coupon, contact {% data variables.contact.contact_support_page %}.
6667
* Organizations created during the trial cannot be removed from the enterprise account until you purchase {% data variables.product.prodname_enterprise %}.
6768

content/copilot/managing-copilot/configure-personal-settings/configuring-github-copilot-in-your-environment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ You can choose to enable or disable inline suggestions for {% data variables.pro
321321

322322
You can enable {% data variables.copilot.next_edit_suggestions %} via the {% data variables.product.prodname_vscode_shortname %} setting `github.copilot.nextEditSuggestions.enabled`. For more detailed instructions, see [Enabling edit suggestions](https://code.visualstudio.com/docs/copilot/ai-powered-suggestions#_enabling-edit-suggestions) in the {% data variables.product.prodname_vscode_shortname %} documentation.
323323

324-
If you have a {% data variables.product.prodname_copilot_business_short %} {% ifversion ghec %}or {% data variables.product.prodname_copilot_enterprise_short %}{% endif %} subscription, then the organization {% ifversion ghec %}or enterprise{% endif %} from which you receive your subscription must enable the **Editor Preview Features** setting. See [AUTOTITLE](/enterprise-cloud@latest/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#enabling-copilot-features-in-your-organization){% ifversion ghec %} or [AUTOTITLE](/enterprise-cloud@latest/copilot/managing-copilot/managing-copilot-for-your-enterprise/managing-policies-and-features-for-copilot-in-your-enterprise#configuring-policies-for-github-copilot){% endif %}.
324+
{% data reusables.copilot.editor-preview-settings %}
325325

326326
## Enabling or disabling {% data variables.product.prodname_copilot %} for specific languages
327327

content/copilot/using-github-copilot/ai-models/changing-the-ai-model-for-copilot-chat.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Changing the AI model for Copilot Chat
3-
shortTitle: 'Change the AI model'
3+
shortTitle: 'Change the chat model'
44
intro: 'Learn how to change the default LLM for {% data variables.product.prodname_copilot_chat_short %} to a different model.'
55
versions:
66
feature: copilot
@@ -14,6 +14,8 @@ However, you are not limited to using this model. You can choose from a selectio
1414

1515
{% data variables.product.prodname_copilot_short %} allows you to change the model during a chat and have the alternative model used to generate responses to your prompts.
1616

17+
Changing the model that's used by {% data variables.product.prodname_copilot_chat_short %} does not affect the model that's used for {% data variables.product.prodname_copilot_short %} code completion. See [AUTOTITLE](/copilot/using-github-copilot/ai-models/changing-the-ai-model-for-copilot-code-completion).
18+
1719
{% webui %}
1820

1921
> [!NOTE]
@@ -74,7 +76,7 @@ These instructions are for {% data variables.product.prodname_vscode_shortname %
7476

7577
{% data reusables.copilot.copilot-chat-models-list-visual-studio %}
7678

77-
## Changing your AI model
79+
## Changing the AI model for {% data variables.product.prodname_copilot_chat_short %}
7880

7981
These instructions are for {% data variables.product.prodname_vs %}. For {% data variables.product.prodname_vscode_shortname %} or for {% data variables.product.prodname_copilot_short %} on the {% data variables.product.github %} website, click the appropriate tab at the top of this page.
8082

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
---
2+
title: Changing the AI model for Copilot code completion
3+
shortTitle: 'Change the completion model'
4+
intro: 'Learn how to change the default LLM for {% data variables.product.prodname_copilot_chat_short %} to a different model.'
5+
versions:
6+
feature: copilot
7+
topics:
8+
- Copilot
9+
---
10+
11+
## Overview
12+
13+
By default, {% data variables.product.prodname_copilot_short %} code completion uses the GPT 3.5 Turbo large language model (LLM). As an alternative, if you use {% data variables.product.prodname_vscode_shortname %}, you can choose to use a model based on GPT 4o-mini. This model has been trained on a wide range of high quality public {% data variables.product.github %} repositories, providing coverage of over 30 programming languages. Its knowledge base is more current than the default model and you may find that it generates completion suggestions more quickly.
14+
15+
> [!NOTE]
16+
> * Multiple model support for {% data variables.product.prodname_copilot_short %} code completion is in {% data variables.release-phases.public_preview %} and is subject to change.
17+
> * Currently the ability to switch AI model is available in the latest releases of {% data variables.product.prodname_vscode_shortname %} and JetBrains IDEs, with the latest version of the {% data variables.product.prodname_copilot %} extension.
18+
19+
## Effects of switching the AI model
20+
21+
Changing the model that's used for {% data variables.product.prodname_copilot_short %} code completion does not affect the model that's used by {% data variables.product.prodname_copilot_chat_short %}. See [AUTOTITLE](/copilot/using-github-copilot/ai-models/changing-the-ai-model-for-copilot-chat).
22+
23+
There are no changes to the data collection and usage policy if you change the AI model.
24+
25+
If you are on a {% data variables.product.prodname_copilot_free_short %} subscription, all completions count against your completions quota regardless of the model used. See [AUTOTITLE](/copilot/about-github-copilot/subscription-plans-for-github-copilot#comparing-copilot-subscriptions).
26+
27+
The setting to enable or disable suggestions that match public code are applied irrespective of which model you choose. See [AUTOTITLE](/enterprise-cloud@latest/copilot/using-github-copilot/finding-public-code-that-matches-github-copilot-suggestions).
28+
29+
## Enabling the model switcher
30+
31+
{% ifversion fpt %}
32+
33+
If you have a {% data variables.product.prodname_copilot_free_short %} or {% data variables.product.prodname_copilot_pro_short %} subscription, the model switcher for {% data variables.product.prodname_copilot_short %} code completion is automatically enabled.
34+
35+
{% endif %}
36+
37+
{% data reusables.copilot.editor-preview-settings %}
38+
39+
{% vscode %}
40+
41+
## Changing the AI model for code completion
42+
43+
The following instructions are for {% data variables.product.prodname_vscode_shortname %}. If you are using a JetBrains IDE, click the appropriate tab at the start of this article.
44+
45+
1. Open the command palette by pressing <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd> (Windows/Linux) / <kbd>Command</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd> (Mac).
46+
1. Type `change completions model` and select the "{% data variables.product.prodname_copilot %}: Change Completions Model" command.
47+
1. In the dropdown menu, select the model you want to use.
48+
49+
Alternatively, if Command Center is enabled, you can click the down arrow beside the **{% octicon "copilot" aria-hidden="true" %}** icon at the top of the {% data variables.product.prodname_vscode_shortname %} window, then click **Configure Code Completions** in the dropdown menu. Then choose **Change Completions Model** in the dropdown menu and select the model you want to use.
50+
51+
## Checking which model is being used
52+
53+
1. Open the Settings editor by pressing <kbd>Ctrl</kbd>+<kbd>,</kbd> (Linux/Windows) / <kbd>Command</kbd>+<kbd>,</kbd> (Mac).
54+
1. Type `copilot completion` and look for the "{% data variables.product.github %} > {% data variables.product.prodname_copilot_short %}: Selected Completion Model" section.
55+
56+
The field in this section displays the currently selected model. If the field is empty, the default model is being used.
57+
58+
{% endvscode %}
59+
60+
{% jetbrains %}
61+
62+
## Changing the AI model for code completion
63+
64+
The following instructions are for JetBrains IDEs. If you are using {% data variables.product.prodname_vscode_shortname %}, click the appropriate tab at the start of this article.
65+
66+
1. Click the **{% octicon "copilot" aria-hidden="true" %}** icon in the status bar.
67+
1. In the popup menu, click **Edit Model for Completion**.
68+
1. In the settings dialog box for "Languages & Frameworks > {% data variables.product.prodname_copilot %}," click the dropdown menu for **Model for completions** and select the model you want to use.
69+
1. Click **OK**.
70+
71+
{% endjetbrains %}
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
---
2-
title: AI models for Copilot Chat
2+
title: AI models for Copilot
33
shortTitle: AI models
4-
intro: "Learn how to use alternative large language models for {% data variables.product.prodname_copilot_chat %}."
4+
intro: "Learn how to use alternative large language models for {% data variables.product.prodname_copilot %}."
55
versions:
66
feature: copilot
77
topics:
88
- Copilot
99
children:
1010
- /changing-the-ai-model-for-copilot-chat
11+
- /changing-the-ai-model-for-copilot-code-completion
1112
- /using-claude-sonnet-in-github-copilot
1213
- /using-gemini-flash-in-github-copilot
1314
---

content/copilot/using-github-copilot/ai-models/using-claude-sonnet-in-github-copilot.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
2-
title: Using Claude 3.5 Sonnet in GitHub Copilot
2+
title: Using Claude 3.5 Sonnet in Copilot Chat
33
allowTitleToDifferFromFilename: true
44
shortTitle: 'Use {% data variables.copilot.copilot_claude_sonnet %}'
5-
intro: 'Learn how to enable {% data variables.copilot.copilot_claude_sonnet %} for {% ifversion fpt %}yourself or{% endif %} your organization{% ifversion ghec %} or enterprise{% endif %}.'
5+
intro: 'Learn how to enable {% data variables.copilot.copilot_claude_sonnet %} in {% data variables.product.prodname_copilot_chat %}, for {% ifversion fpt %}yourself or{% endif %} your organization{% ifversion ghec %} or enterprise{% endif %}.'
66
versions:
77
feature: copilot
88
topics:
@@ -13,7 +13,7 @@ redirect_from:
1313

1414
> [!NOTE] {% data variables.copilot.copilot_claude_sonnet %} is in {% data variables.release-phases.public_preview %} and subject to change. The [AUTOTITLE](/free-pro-team@latest/site-policy/github-terms/github-pre-release-license-terms) apply to your use of this product.
1515
16-
## About {% data variables.copilot.copilot_claude_sonnet %} in {% data variables.product.prodname_copilot %}
16+
## About {% data variables.copilot.copilot_claude_sonnet %} in {% data variables.product.prodname_copilot_chat %}
1717

1818
{% data variables.copilot.copilot_claude_sonnet %} is a large language model that you can use as an alternative to the default model used by {% data variables.product.prodname_copilot_chat_short %}. {% data variables.copilot.copilot_claude_sonnet %} excels at coding tasks across the entire software development lifecycle, from initial design to bug fixes, maintenance to optimizations. Learn more about the [model's capabilities](https://www.anthropic.com/claude/sonnet) or read the [model card](https://assets.anthropic.com/m/61e7d27f8c8f5919/original/Claude-3-Model-Card.pdf).
1919

0 commit comments

Comments
 (0)