Skip to content

Commit 6c6bdd5

Browse files
authored
Merge pull request #37029 from github/repo-sync
Repo sync
2 parents 2fe9125 + caf85b9 commit 6c6bdd5

File tree

7 files changed

+43
-320
lines changed

7 files changed

+43
-320
lines changed

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

+39
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,45 @@ topics:
1212

1313
By default, {% data variables.product.prodname_copilot_short %} code completion uses the GPT 3.5 Turbo large language model (LLM). As an alternative, 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.
1414

15+
<details>
16+
<summary>View the list of programming languages and technologies included in the training data.</summary>
17+
18+
* C
19+
* C#
20+
* C++
21+
* Clojure
22+
* CSS
23+
* Dart
24+
* Dockerfile
25+
* Elixir
26+
* Emacs Lisp
27+
* Go
28+
* Haskell
29+
* HTML
30+
* Java
31+
* JavaScript
32+
* Julia
33+
* Jupyter Notebook
34+
* Kotlin
35+
* Lua
36+
* MATLAB
37+
* Objective-C
38+
* Perl
39+
* PHP
40+
* PowerShell
41+
* Python
42+
* R
43+
* Ruby
44+
* Rust
45+
* Scala
46+
* Shell
47+
* Swift
48+
* TeX
49+
* TypeScript
50+
* Vue
51+
52+
</details>
53+
1554
> [!NOTE]
1655
> * 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.
1756
> * 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.
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1+
{% ifversion ghes %}
2+
{% else %}
13
> [!NOTE]
24
> The dependency review API and the {% data variables.dependency-submission-api.name %} work together. This means that the dependency review API will include dependencies submitted via the {% data variables.dependency-submission-api.name %}.
5+
{% endif %}

data/reusables/dependency-submission/about-dependency-submission.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ The dependency graph shows any dependencies you submit using the API in addition
44

55
Submitted dependencies will receive {% data variables.product.prodname_dependabot_alerts %} and {% data variables.product.prodname_dependabot_security_updates %} for any known vulnerabilities. You will only get {% data variables.product.prodname_dependabot_alerts %} for dependencies that are from one of the supported ecosystems for the {% data variables.product.prodname_advisory_database %}. For more information about these ecosystems, see [AUTOTITLE](/code-security/security-advisories/global-security-advisories/about-the-github-advisory-database#github-reviewed-advisories). For transitive dependencies submitted via the {% data variables.dependency-submission-api.name %}, {% data variables.product.prodname_dependabot %} will automatically open pull requests to update the parent dependency, if an update is available.
66

7-
Submitted dependencies will be shown in dependency review, but are _not_ available in your organization's dependency insights.
7+
Submitted dependencies {% ifversion fpt or ghec %}will be shown in dependency review, but {% endif %}are _not_ available in your organization's dependency insights.
88

99
{% data reusables.dependency-review.works-with-submission-api-beta %}

src/shielding/lib/fastly-ips.ts

-81
This file was deleted.

src/shielding/middleware/index.ts

-2
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,9 @@ import handleOldNextDataPaths from './handle-old-next-data-paths'
66
import handleInvalidQuerystringValues from './handle-invalid-query-string-values'
77
import handleInvalidNextPaths from './handle-invalid-nextjs-paths'
88
import handleInvalidHeaders from './handle-invalid-headers'
9-
import { createRateLimiter } from './rate-limit'
109

1110
const router = express.Router()
1211

13-
router.use(createRateLimiter())
1412
router.use(handleInvalidQuerystrings)
1513
router.use(handleInvalidPaths)
1614
router.use(handleOldNextDataPaths)

src/shielding/middleware/rate-limit.ts

-168
This file was deleted.

0 commit comments

Comments
 (0)