You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages.md
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -308,7 +308,15 @@ If you added manual build steps for compiled languages and {% data variables.pro
308
308
309
309
## Building C/C++
310
310
311
-
{% ifversion codeql-no-build %}{% data variables.product.prodname_codeql %} supports build modes `autobuild` or `manual` for C/C++ code.
311
+
{% ifversion codeql-no-build %}{% data variables.product.prodname_codeql %} supports build modes {% ifversion codeql-no-build-c-cpp %}`none`, {% endif %}`autobuild` or `manual` for C/C++ code.
312
+
313
+
{% ifversion codeql-no-build-c-cpp %}
314
+
315
+
When you enable default setup for a repository that contains C/C++ code, the build mode is set to `none` automatically.
316
+
317
+
>[!NOTE] Support of build mode `none` for C/C++ codebases is currently in {% data variables.release-phases.public_preview %} and subject to change.
Copy file name to clipboardExpand all lines: content/code-security/codeql-cli/getting-started-with-the-codeql-cli/preparing-your-code-for-codeql-analysis.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -201,10 +201,10 @@ In addition, for {% data variables.code-scanning.no_build_support %}, there is a
201
201
The {% data variables.product.prodname_codeql_cli %} includes autobuilders for {% data variables.code-scanning.compiled_languages %} code. {% data variables.product.prodname_codeql %} autobuilders allow you to build projects for compiled languages without specifying any build commands. When an autobuilder is invoked, {% data variables.product.prodname_codeql %} examines the source for evidence of a build system and attempts to run the optimal set of commands required to extract a database. For more information, see [AUTOTITLE](/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages#about-autobuild).
202
202
203
203
An autobuilder is invoked automatically when you execute `codeql database create` for a compiled language if you don’t include a
204
-
`--command` option{% ifversion codeql-no-build %} or set `--build-mode none`{% endif %}. For example, for a C/C++ codebase, you could simply run:
204
+
`--command` option{% ifversion codeql-no-build %} or set `--build-mode none`{% endif %}. For example, for a Swift codebase, you could simply run:
If a codebase uses a standard build system, relying on an autobuilder is often the simplest way to create a database. For sources that require non-standard build steps, you may need to explicitly define each step in the command line.
Copy file name to clipboardExpand all lines: content/copilot/using-github-copilot/ai-models/changing-the-ai-model-for-copilot-chat.md
+33-24Lines changed: 33 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ topics:
8
8
- Copilot
9
9
---
10
10
11
-
By default, {% data variables.copilot.copilot_chat_short %} uses a base model to provide fast, capable responses for a wide range of tasks, such as summarization, knowledge-based questions, reasoning, math, and coding.
11
+
By default, {% data variables.copilot.copilot_chat_short %} uses {% data variables.copilot.copilot_gpt_41 %} to provide fast, capable responses for a wide range of tasks, such as summarization, knowledge-based questions, reasoning, math, and coding.
12
12
13
13
However, you are not limited to using this model. You can choose from a selection of other models, each with its own particular strengths. You may have a favorite model that you like to use, or you might prefer to use a particular model for inquiring about a specific subject.
14
14
@@ -21,9 +21,8 @@ Changing the model that's used by {% data variables.copilot.copilot_chat_short %
21
21
{% webui %}
22
22
23
23
> [!NOTE]
24
-
> * Multiple model support in {% data variables.copilot.copilot_chat_short %} is in {% data variables.release-phases.public_preview %} and is subject to change.
25
-
> * Support for GPT-4.5 is only available on {% data variables.copilot.copilot_pro_plus_short %}{% ifversion copilot-enterprise %} and {% data variables.copilot.copilot_enterprise_short %}{% endif %}.
26
-
> * You can only use an alternative AI model in the immersive view of {% data variables.copilot.copilot_chat_short %}. This is the full-page version of {% data variables.copilot.copilot_chat_short %} that's displayed at [https://github.com/copilot](https://github.com/copilot). The {% data variables.copilot.copilot_chat_short %} panel always uses the default model.
24
+
> * Support for {% data variables.copilot.copilot_gpt_45 %}, {% data variables.copilot.copilot_claude_opus %}, and {% data variables.copilot.copilot_o3 %} are only available on {% data variables.copilot.copilot_pro_plus_short %}{% ifversion copilot-enterprise %} and {% data variables.copilot.copilot_enterprise_short %}{% endif %}.
25
+
> * You can only use an alternative AI model in the immersive view of {% data variables.copilot.copilot_chat_short %} on GitHub.com. This is the full-page version of {% data variables.copilot.copilot_chat_short %} that's displayed at [https://github.com/copilot](https://github.com/copilot). The {% data variables.copilot.copilot_chat_short %} panel always uses the default model.
27
26
28
27
## AI models for {% data variables.copilot.copilot_chat_short %}
29
28
@@ -35,14 +34,14 @@ The following models are currently available in the immersive mode of {% data va
35
34
* {% data variables.copilot.copilot_claude_sonnet_35 %}
36
35
* {% data variables.copilot.copilot_claude_sonnet_37 %}
37
36
* {% data variables.copilot.copilot_claude_sonnet_37 %} Thinking
38
-
* {% data variables.copilot.copilot_claude_sonnet_40 %}
39
-
* {% data variables.copilot.copilot_claude_opus %}
37
+
* {% data variables.copilot.copilot_claude_sonnet_40 %} (preview)
38
+
* {% data variables.copilot.copilot_claude_opus %} (preview)
40
39
* {% data variables.copilot.copilot_gemini_flash %}
41
40
* {% data variables.copilot.copilot_gemini_25_pro %} (preview)
42
-
* {% data variables.copilot.copilot_o1 %}
43
-
* {% data variables.copilot.copilot_o3 %}
41
+
* {% data variables.copilot.copilot_o1 %} (preview)
42
+
* {% data variables.copilot.copilot_o3 %} (preview)
44
43
* {% data variables.copilot.copilot_o3_mini %}
45
-
* {% data variables.copilot.copilot_o4_mini %}
44
+
* {% data variables.copilot.copilot_o4_mini %} (preview)
46
45
47
46
For more information about these models, see [AUTOTITLE](/copilot/using-github-copilot/ai-models/choosing-the-right-ai-model-for-your-task).
48
47
@@ -58,11 +57,11 @@ These instructions are for {% data variables.product.prodname_copilot_short %} o
58
57
59
58
> [!NOTE] If you use {% data variables.copilot.copilot_extensions_short %}, they may override the model you select.
60
59
61
-
1. In the top right of any page on {% data variables.product.github %}, click {% octicon "triangle-down" aria-label="The downwards triangle icon" %} beside the **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %}** icon and click **Immersive** in the dropdown menu.
60
+
1. In the top right of any page on {% data variables.product.github %}, click the **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %}** icon.
62
61
63
-

62
+

64
63
65
-
1. At the top of the immersive view, select the **CURRENT-MODEL** {% octicon "chevron-down" aria-hidden="true" aria-label="chevron-down" %} dropdown menu, then click the AI model of your choice.
64
+
1. At the bottom of the immersive view, select the **CURRENT-MODEL** {% octicon "chevron-down" aria-hidden="true" aria-label="chevron-down" %} dropdown menu, then click the AI model of your choice.
66
65
67
66
1. Optionally, after submitting a prompt, you can regenerate the same prompt using a different model by clicking the retry icon ({% octicon "sync" aria-label="The re-run icon" %}) below the response. The new response will use your selected model and maintain the full context of the conversation.
68
67
@@ -72,7 +71,7 @@ These instructions are for {% data variables.product.prodname_copilot_short %} o
72
71
73
72
> [!NOTE]
74
73
> * Multiple model support in {% data variables.copilot.copilot_chat_short %} is in {% data variables.release-phases.public_preview %} and is subject to change.
75
-
> * Support for GPT-4.5 is only available on {% data variables.copilot.copilot_pro_plus_short %}{% ifversion copilot-enterprise %} and {% data variables.copilot.copilot_enterprise_short %}{% endif %}.
74
+
> * Support for {% data variables.copilot.copilot_gpt_45 %}, {% data variables.copilot.copilot_claude_opus %}, and {% data variables.copilot.copilot_o3 %} are only available on {% data variables.copilot.copilot_pro_plus_short %}{% ifversion copilot-enterprise %} and {% data variables.copilot.copilot_enterprise_short %}{% endif %}.
76
75
77
76
## AI models for {% data variables.copilot.copilot_chat_short %}
78
77
@@ -84,13 +83,14 @@ The following models are currently available through multi-model {% data variabl
84
83
* {% data variables.copilot.copilot_claude_sonnet_35 %}
85
84
* {% data variables.copilot.copilot_claude_sonnet_37 %}
86
85
* {% data variables.copilot.copilot_claude_sonnet_37 %} Thinking
87
-
* {% data variables.copilot.copilot_claude_sonnet_40 %}
88
-
* {% data variables.copilot.copilot_claude_opus %}
86
+
* {% data variables.copilot.copilot_claude_sonnet_40 %} (preview)
87
+
* {% data variables.copilot.copilot_claude_opus %} (preview)
89
88
* {% data variables.copilot.copilot_gemini_flash %}
90
-
* {% data variables.copilot.copilot_o1 %}
91
-
* {% data variables.copilot.copilot_o3 %}
89
+
* {% data variables.copilot.copilot_gemini_25_pro %} (preview)
90
+
* {% data variables.copilot.copilot_o1 %} (preview)
91
+
* {% data variables.copilot.copilot_o3 %} (preview)
92
92
* {% data variables.copilot.copilot_o3_mini %}
93
-
* {% data variables.copilot.copilot_o4_mini %}
93
+
* {% data variables.copilot.copilot_o4_mini %} (preview)
94
94
95
95
For more information about these models, see [AUTOTITLE](/copilot/using-github-copilot/ai-models/choosing-the-right-ai-model-for-your-task).
96
96
@@ -109,17 +109,22 @@ These instructions are for {% data variables.product.prodname_vscode_shortname %
109
109
110
110
{% visualstudio %}
111
111
112
-
> [!NOTE] Multiple model support in {% data variables.copilot.copilot_chat_short %} is in {% data variables.release-phases.public_preview %} and is subject to change.
113
-
114
112
## AI models for {% data variables.copilot.copilot_chat_short %}
115
113
116
114
The following models are currently available through multi-model {% data variables.copilot.copilot_chat_short %}:
117
115
118
116
* {% data variables.copilot.copilot_gpt_4o %}
117
+
* {% data variables.copilot.copilot_gpt_41 %}
118
+
* {% data variables.copilot.copilot_gpt_45 %} (preview)
119
119
* {% data variables.copilot.copilot_claude_sonnet_35 %}
120
120
* {% data variables.copilot.copilot_claude_sonnet_37 %}
121
-
* {% data variables.copilot.copilot_o1 %}
121
+
* {% data variables.copilot.copilot_claude_sonnet_37 %} Thinking
122
+
* {% data variables.copilot.copilot_gemini_flash %}
123
+
* {% data variables.copilot.copilot_gemini_25_pro %} (preview)
124
+
* {% data variables.copilot.copilot_o1 %} (preview)
125
+
* {% data variables.copilot.copilot_o3 %} (preview)
122
126
* {% data variables.copilot.copilot_o3_mini %}
127
+
* {% data variables.copilot.copilot_o4_mini %} (preview)
123
128
124
129
For more information about these models, see [AUTOTITLE](/copilot/using-github-copilot/ai-models/choosing-the-right-ai-model-for-your-task).
125
130
@@ -142,7 +147,7 @@ To use multi-model {% data variables.copilot.copilot_chat_short %}, you must use
142
147
143
148
> [!NOTE]
144
149
> * Multiple model support in {% data variables.copilot.copilot_chat_short %} is in {% data variables.release-phases.public_preview %} and is subject to change.
145
-
> * Support for GPT-4.5 is only available on {% data variables.copilot.copilot_pro_plus_short %}{% ifversion copilot-enterprise %} and {% data variables.copilot.copilot_enterprise_short %}{% endif %}.
150
+
> * Support for {% data variables.copilot.copilot_gpt_45 %} and {% data variables.copilot.copilot_o3 %} are only available on {% data variables.copilot.copilot_pro_plus_short %}{% ifversion copilot-enterprise %} and {% data variables.copilot.copilot_enterprise_short %}{% endif %}.
146
151
147
152
## AI models for {% data variables.copilot.copilot_chat_short %}
148
153
@@ -181,20 +186,24 @@ These instructions are for the JetBrains IDEs. For instructions on different cli
181
186
182
187
> [!NOTE]
183
188
> * Multiple model support in {% data variables.copilot.copilot_chat_short %} is in {% data variables.release-phases.public_preview %} and is subject to change.
184
-
> * Support for GPT-4.5 is only available on {% data variables.copilot.copilot_pro_plus_short %}{% ifversion copilot-enterprise %} and {% data variables.copilot.copilot_enterprise_short %}{% endif %}.
189
+
> * Support for {% data variables.copilot.copilot_gpt_45 %} and {% data variables.copilot.copilot_o3 %} are only available on {% data variables.copilot.copilot_pro_plus_short %}{% ifversion copilot-enterprise %} and {% data variables.copilot.copilot_enterprise_short %}{% endif %}.
185
190
186
191
## AI models for {% data variables.copilot.copilot_chat_short %}
187
192
188
193
The following models are currently available through multi-model {% data variables.copilot.copilot_chat_short %}:
189
194
190
195
* {% data variables.copilot.copilot_gpt_4o %}
196
+
* {% data variables.copilot.copilot_gpt_41 %}
191
197
* {% data variables.copilot.copilot_gpt_45 %} (preview)
192
198
* {% data variables.copilot.copilot_claude_sonnet_35 %}
193
199
* {% data variables.copilot.copilot_claude_sonnet_37 %}
194
200
* {% data variables.copilot.copilot_claude_sonnet_37 %} Thinking
195
201
* {% data variables.copilot.copilot_gemini_flash %}
202
+
* {% data variables.copilot.copilot_gemini_25_pro %} (preview)
196
203
* {% data variables.copilot.copilot_o1 %} (preview)
204
+
* {% data variables.copilot.copilot_o3 %} (preview)
197
205
* {% data variables.copilot.copilot_o3_mini %}
206
+
* {% data variables.copilot.copilot_o4_mini %} (preview)
198
207
199
208
For more information about these models, see [AUTOTITLE](/copilot/using-github-copilot/ai-models/choosing-the-right-ai-model-for-your-task).
200
209
@@ -216,7 +225,7 @@ These instructions are for the Eclipse IDE. For instructions on different client
216
225
217
226
> [!NOTE]
218
227
> * Multiple model support in {% data variables.copilot.copilot_chat_short %} is in {% data variables.release-phases.public_preview %} and is subject to change.
219
-
> * Support for GPT-4.5 is only available on {% data variables.copilot.copilot_pro_plus_short %}{% ifversion copilot-enterprise %} and {% data variables.copilot.copilot_enterprise_short %}{% endif %}.
228
+
> * Support for {% data variables.copilot.copilot_gpt_45 %} and {% data variables.copilot.copilot_o3 %} are only available on {% data variables.copilot.copilot_pro_plus_short %}{% ifversion copilot-enterprise %} and {% data variables.copilot.copilot_enterprise_short %}{% endif %}.
220
229
221
230
## AI models for {% data variables.copilot.copilot_chat_short %}
0 commit comments