diff --git a/content/copilot/using-github-copilot/asking-github-copilot-questions-in-github.md b/content/copilot/using-github-copilot/asking-github-copilot-questions-in-github.md index a58f42a723e0..53afd8496288 100644 --- a/content/copilot/using-github-copilot/asking-github-copilot-questions-in-github.md +++ b/content/copilot/using-github-copilot/asking-github-copilot-questions-in-github.md @@ -33,6 +33,15 @@ On {% data variables.product.github %}, you can use {% data variables.product.pr * The quality of the results from {% data variables.product.prodname_copilot_chat_short %} may, in some situations, be degraded if very large files, or a large number of files, are used as a context for a question. +### Viewing generated files within {% data variables.product.prodname_copilot_chat_short %} + +> [!NOTE] +> This feature is currently in {% data variables.release-phases.public_preview %} and subject to change. + +When you ask a question, {% data variables.product.prodname_copilot_short %} may generate one or more files as part of its response. In the {% data variables.product.prodname_copilot_chat_short %} panel, the files are displayed inline, within the chat response. In immersive view (that is, at [https://github.com/copilot](https://github.com/copilot)), the generated files are displayed in a side panel. You can view the files in the panel, or download them to your computer. + +For example, asking `Generate a simple calculator using HTML, CSS, and JavaScript` may generate multiple files, such as `index.html`, `styles.css`, and `script.js`. + ## Powered by skills When using the GPT 4o and {% data variables.copilot.copilot_claude_sonnet %} models, {% data variables.product.prodname_copilot_short %} has access to a collection of skills to fetch data from {% data variables.product.github %}, which are dynamically selected based on the question you ask. You can tell which skill {% data variables.product.prodname_copilot_short %} used by clicking {% octicon "chevron-down" aria-label="the down arrow" %} to expand the status information in the chat window. diff --git a/src/events/components/experiments/experiments.ts b/src/events/components/experiments/experiments.ts index b5b1695c20f8..e387e463e659 100644 --- a/src/events/components/experiments/experiments.ts +++ b/src/events/components/experiments/experiments.ts @@ -22,7 +22,7 @@ export const EXPERIMENTS = { percentOfUsersToGetExperiment: 0, // 10% of users will get the experiment includeVariationInContext: true, // All events will include the `experiment_variation` of the `ai_search_experiment` limitToLanguages: ['en'], // Only users with the `en` language will be included in the experiment - alwaysShowForStaff: true, // When set to true, staff will always see the experiment (determined by the `staffonly` cookie) + alwaysShowForStaff: false, // When set to true, staff will always see the experiment (determined by the `staffonly` cookie) }, /* Add new experiments here, example: 'example_experiment': { diff --git a/src/graphql/data/fpt/schema.docs.graphql b/src/graphql/data/fpt/schema.docs.graphql index 68804c399563..a1eb43005149 100644 --- a/src/graphql/data/fpt/schema.docs.graphql +++ b/src/graphql/data/fpt/schema.docs.graphql @@ -21506,7 +21506,7 @@ input MaxFilePathLengthParametersInput { } """ -Prevent commits that exceed a specified file size limit from being pushed to the commit. +Prevent commits that exceed a specified file size limit from being pushed to the commit graph. """ type MaxFileSizeParameters { """ @@ -21516,7 +21516,7 @@ type MaxFileSizeParameters { } """ -Prevent commits that exceed a specified file size limit from being pushed to the commit. +Prevent commits that exceed a specified file size limit from being pushed to the commit graph. """ input MaxFileSizeParametersInput { """ @@ -48655,7 +48655,7 @@ enum RepositoryRuleType { MAX_FILE_PATH_LENGTH """ - Prevent commits that exceed a specified file size limit from being pushed to the commit. + Prevent commits that exceed a specified file size limit from being pushed to the commit graph. """ MAX_FILE_SIZE diff --git a/src/graphql/data/fpt/schema.json b/src/graphql/data/fpt/schema.json index 7cd2318a7453..ca48602791d1 100644 --- a/src/graphql/data/fpt/schema.json +++ b/src/graphql/data/fpt/schema.json @@ -32713,7 +32713,7 @@ "kind": "objects", "id": "maxfilesizeparameters", "href": "/graphql/reference/objects#maxfilesizeparameters", - "description": "
Prevent commits that exceed a specified file size limit from being pushed to the commit.
", + "description": "Prevent commits that exceed a specified file size limit from being pushed to the commit graph.
", "fields": [ { "name": "maxFileSize", @@ -88797,7 +88797,7 @@ }, { "name": "MAX_FILE_SIZE", - "description": "Prevent commits that exceed a specified file size limit from being pushed to the commit.
" + "description": "Prevent commits that exceed a specified file size limit from being pushed to the commit graph.
" }, { "name": "MAX_REF_UPDATES", @@ -99992,7 +99992,7 @@ "kind": "inputObjects", "id": "maxfilesizeparametersinput", "href": "/graphql/reference/input-objects#maxfilesizeparametersinput", - "description": "Prevent commits that exceed a specified file size limit from being pushed to the commit.
", + "description": "Prevent commits that exceed a specified file size limit from being pushed to the commit graph.
", "inputFields": [ { "name": "maxFileSize", diff --git a/src/graphql/data/ghec/schema.docs.graphql b/src/graphql/data/ghec/schema.docs.graphql index 68804c399563..a1eb43005149 100644 --- a/src/graphql/data/ghec/schema.docs.graphql +++ b/src/graphql/data/ghec/schema.docs.graphql @@ -21506,7 +21506,7 @@ input MaxFilePathLengthParametersInput { } """ -Prevent commits that exceed a specified file size limit from being pushed to the commit. +Prevent commits that exceed a specified file size limit from being pushed to the commit graph. """ type MaxFileSizeParameters { """ @@ -21516,7 +21516,7 @@ type MaxFileSizeParameters { } """ -Prevent commits that exceed a specified file size limit from being pushed to the commit. +Prevent commits that exceed a specified file size limit from being pushed to the commit graph. """ input MaxFileSizeParametersInput { """ @@ -48655,7 +48655,7 @@ enum RepositoryRuleType { MAX_FILE_PATH_LENGTH """ - Prevent commits that exceed a specified file size limit from being pushed to the commit. + Prevent commits that exceed a specified file size limit from being pushed to the commit graph. """ MAX_FILE_SIZE diff --git a/src/graphql/data/ghec/schema.json b/src/graphql/data/ghec/schema.json index 7cd2318a7453..ca48602791d1 100644 --- a/src/graphql/data/ghec/schema.json +++ b/src/graphql/data/ghec/schema.json @@ -32713,7 +32713,7 @@ "kind": "objects", "id": "maxfilesizeparameters", "href": "/graphql/reference/objects#maxfilesizeparameters", - "description": "Prevent commits that exceed a specified file size limit from being pushed to the commit.
", + "description": "Prevent commits that exceed a specified file size limit from being pushed to the commit graph.
", "fields": [ { "name": "maxFileSize", @@ -88797,7 +88797,7 @@ }, { "name": "MAX_FILE_SIZE", - "description": "Prevent commits that exceed a specified file size limit from being pushed to the commit.
" + "description": "Prevent commits that exceed a specified file size limit from being pushed to the commit graph.
" }, { "name": "MAX_REF_UPDATES", @@ -99992,7 +99992,7 @@ "kind": "inputObjects", "id": "maxfilesizeparametersinput", "href": "/graphql/reference/input-objects#maxfilesizeparametersinput", - "description": "Prevent commits that exceed a specified file size limit from being pushed to the commit.
", + "description": "Prevent commits that exceed a specified file size limit from being pushed to the commit graph.
", "inputFields": [ { "name": "maxFileSize",