Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
3b48c51
Defer webhook childParamsGroups loading (~20-30 MB heap savings) (#61…
Ebonsignori Jun 10, 2026
dadfe54
Remove no-explicit-any violations from content-render entrypoints (#6…
heiskr Jun 10, 2026
d46bfd9
[2026-06-10] Public preview - Automatic routing between ask and agent…
Copilot Jun 10, 2026
6652cd5
Remove no-explicit-any from frame test files (#61671)
heiskr Jun 10, 2026
84e617f
Remove no-explicit-any from convert-markdown-for-docs (#61678)
heiskr Jun 10, 2026
01d4615
Remove no-explicit-any from update-internal-links (#61680)
heiskr Jun 10, 2026
dc89a47
Remove no-explicit-any from REST sync pipeline (#61687)
heiskr Jun 10, 2026
807bf73
Remove no-explicit-any violations from REST tests (#61665)
heiskr Jun 10, 2026
27f9a73
Remove 'any' from markdownlint .d.ts declarations (#61661)
heiskr Jun 10, 2026
ab4f319
Remove no-explicit-any from content-render scripts (#61669)
heiskr Jun 10, 2026
c155667
Remove no-explicit-any from frame page-data lib (#61672)
heiskr Jun 10, 2026
e0734f8
Remove no-explicit-any from data-directory get-data accessor (#61675)
heiskr Jun 10, 2026
cf2408b
Dedup double-purge logic from Fastly edge cache purge (#61558)
heiskr Jun 10, 2026
c9b9392
Remove no-explicit-any violations from REST pages and components (#61…
heiskr Jun 10, 2026
96fb2fd
Remove per-model mode fields from Copilot model release status data a…
Copilot Jun 10, 2026
620875b
Remove no-explicit-any from lint-content (#61681)
heiskr Jun 10, 2026
5111f82
Remove some 'any' types from 4 files (#61660)
heiskr Jun 10, 2026
df6986d
Remove no-explicit-any violations from search files (#61663)
heiskr Jun 11, 2026
ef059ac
Remove no-explicit-any from annotate unified plugin (#61670)
heiskr Jun 11, 2026
695dca1
Remove no-explicit-any from CookBookFilter and translation correction…
heiskr Jun 11, 2026
85f68dd
Clarify audit log S3 region access requirements (#61655)
Copilot Jun 11, 2026
e81ebdd
Updates "Optimize AI usage" to include additional best practices (#61…
am-stead Jun 11, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,11 @@ You can stream audit logs to multiple endpoints. For example, you can stream you

{% ifversion ghes %}

>[!NOTE] The Amazon region `us-east-1` must be reachable from your appliance for streaming to S3 to work. Your S3 bucket can reside in other AWS regions.
> [!NOTE]
> For streaming to S3, the AWS region that must be reachable depends on the option you select for the bucket's region.
>
> * If you select **Auto Detect**, `us-east-1` must be reachable from your appliance because the AWS SDK uses that region to detect the destination bucket's region.
> * If you select a specific region, the selected region must be reachable from your appliance. `us-east-1` does not need to be reachable unless it is the selected region.

{% endif %}

Expand Down Expand Up @@ -113,10 +117,10 @@ From {% data variables.product.prodname_dotcom %}:
1. Under "Authentication", click **Access keys**.{% endif %}
1. Configure the stream settings.

- Under "Region", select the bucket's region. For example, `us-east-1`.
- Under "Bucket", type the name of the bucket you want to stream to. For example, `auditlog-streaming-test`.
- Under "Access Key ID", type your access key ID. For example, `ABCAIOSFODNN7EXAMPLE1`.
- Under "Secret Key", type your secret key. For example, `aBcJalrXUtnWXYZ/A1MDENG/zPxRfiCYEXAMPLEKEY`.
* Under "Region", select **Auto Detect** or select the bucket's region. For example, `us-east-1`.
* Under "Bucket", type the name of the bucket you want to stream to. For example, `auditlog-streaming-test`.
* Under "Access Key ID", type your access key ID. For example, `ABCAIOSFODNN7EXAMPLE1`.
* Under "Secret Key", type your secret key. For example, `aBcJalrXUtnWXYZ/A1MDENG/zPxRfiCYEXAMPLEKEY`.
{% data reusables.audit_log.streaming-check-s3-endpoint %}
{% data reusables.enterprise.verify-audit-log-streaming-endpoint %}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ When used effectively, {% data variables.copilot.copilot_cloud_agent %} offers p

* With **{% data variables.copilot.copilot_cloud_agent %}**, all coding and iterating happens **on {% data variables.product.github %}**. You can ask {% data variables.product.prodname_copilot_short %} to **research** a repository, **create a plan**, and **make code changes** on a branch—all before opening a pull request. You can create multiple {% data variables.copilot.custom_agents_short %} that specialize in different types of tasks. {% data variables.product.prodname_copilot_short %} **automates** branch creation, commit message writing, and pushing. Developers let the agents **work in the background** and then chooses to **create a pull request** when ready. Working on {% data variables.product.github %} adds **transparency**, with every step happening in a commit and being viewable in logs, and opens up **collaboration** opportunities for the entire team.

### Sharing context between {% data variables.copilot.copilot_chat_short %} and {% data variables.copilot.copilot_cloud_agent %} sessions

When you start a {% data variables.copilot.copilot_cloud_agent %} session from {% data variables.copilot.copilot_chat_short %} on {% data variables.product.github %}, the session carries the context of your chat. You can continue chatting while the session runs, and ask follow-up questions about progress in the same conversation. For more information, see [AUTOTITLE](/copilot/how-tos/copilot-on-github/use-copilot-agents/manage-and-track-agents).

## {% data variables.copilot.copilot_cloud_agent %} versus agent mode

{% data variables.copilot.copilot_cloud_agent %} is distinct from the "agent mode" feature available in your IDE. {% data variables.copilot.copilot_cloud_agent %} works autonomously in a {% data variables.product.prodname_actions %}-powered environment to complete development tasks assigned through {% data variables.product.github %} issues or {% data variables.copilot.copilot_chat %} prompts. It can research a repository, create a plan, make code changes on a branch, and optionally open a pull request. In contrast, agent mode in your IDE makes autonomous edits directly in your local development environment. For more information about agent mode, see [AUTOTITLE](/copilot/using-github-copilot/copilot-chat/asking-github-copilot-questions-in-your-ide).
Expand Down
10 changes: 9 additions & 1 deletion content/copilot/concepts/chat.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ versions:
redirect_from:
- /copilot/concepts/about-github-copilot-chat
contentType: concepts
category:
category:
- Learn about Copilot
---

Expand All @@ -30,6 +30,14 @@ Different environments may have different features and capabilities, but the cor

{% data variables.copilot.copilot_chat_short %} is designed to assist with coding tasks, but you remain responsible for reviewing and validating the code it generates. It may not always produce correct or optimal solutions, and it can sometimes generate code that contains security vulnerabilities or other issues. Always test and review the code before using it in production.

## Passing context between {% data variables.copilot.copilot_chat_short %} and {% data variables.copilot.copilot_cloud_agent %} sessions

On {% data variables.product.github %}, {% data variables.copilot.copilot_chat_short %} and {% data variables.copilot.copilot_cloud_agent %} can share context. When you start an agent session from a chat, the session incorporates the context of your conversation, and while the session runs you can continue chatting with {% data variables.product.prodname_copilot_short %} about its progress.

{% data variables.copilot.copilot_chat_short %} can also answer questions about pull requests created by {% data variables.product.prodname_copilot_short %} by pulling in the relevant agent session logs, so you can ask what changed, what was validated, and why, without leaving the conversation.

This context passing is scoped to the {% data variables.copilot.copilot_chat_short %} and {% data variables.copilot.copilot_cloud_agent_short %} sessions you are actively working with. It is distinct from {% data variables.copilot.copilot_memory %}, which builds a longer-term, persistent understanding of your repositories and preferences across sessions. For more information, see [AUTOTITLE](/copilot/how-tos/copilot-on-github/use-copilot-agents/manage-and-track-agents).

## Customizing {% data variables.copilot.copilot_chat_short %} responses

{% data variables.product.prodname_copilot %} in {% data variables.product.github %}, {% data variables.product.prodname_vscode %}, and {% data variables.product.prodname_vs %} can provide chat responses that are tailored to the way your team works, the tools you use, the specifics of your project, or your personal preferences, if you provide it with enough context to do so. Instead of repeating instructions in each prompt, you can create and save instructions for {% data variables.copilot.copilot_chat_short %} to customize what responses you receive.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ redirect_from:
- /copilot/how-tos/chat-with-copilot/use-chat-in-github
- /copilot/how-tos/chat-with-copilot/chat-in-github
contentType: how-tos
category:
category:
- Author and optimize with Copilot
---

Expand Down Expand Up @@ -72,6 +72,10 @@ The response to your edited question is displayed in a new subthread. An edit co

You can attach images to your prompts by pasting, dragging, or clicking {% octicon "plus" aria-label="Add attachment" %} in the prompt box and then selecting **{% octicon "file-code" aria-hidden="true" %} Upload from computer**. Select a model that supports images from the model picker. For supported file types and example questions, see [AUTOTITLE](/copilot/how-tos/use-copilot-agents/coding-agent/provide-visual-inputs).

### Continuing a conversation alongside an agent session

When you start a {% data variables.copilot.copilot_cloud_agent %} task from {% data variables.copilot.copilot_chat_short %}—for example, by asking {% data variables.product.prodname_copilot_short %} to create a pull request or research a repository—you can keep chatting while the {% data variables.copilot.copilot_cloud_agent_short %} session runs. {% data variables.copilot.copilot_chat_short %} reflects the status of the in-progress session and draws on its context, so you can ask follow-up questions about what the agent is doing. When the session is complete, you can ask further questions about the work or start another session from {% data variables.copilot.copilot_chat_short %}. For more information, see [AUTOTITLE](/copilot/how-tos/copilot-on-github/use-copilot-agents/manage-and-track-agents).

### Conversation history and retention

{% data variables.copilot.copilot_chat_short %} stores up to 100 of your most recent conversations. Messages within each conversation are kept for 28 days before being permanently deleted. Once a conversation has no messages left, it's automatically removed from your history.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ Navigate to a pull request to ask about changes, reviews, or failing workflows.
* {% prompt %}Summarize the changes in this PR.{% endprompt %}
* {% prompt %}What's the purpose of this file?{% endprompt %}
* {% prompt %}Tell me why this job failed{% endprompt %}
* {% prompt %}What did {% data variables.product.prodname_copilot_short %} change in this PR and why?{% endprompt %}
* {% prompt %}What did {% data variables.product.prodname_copilot_short %} validate before opening this PR?{% endprompt %}

## Security alert questions

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,16 @@ Show me sessions where the agent struggled or I had to correct it multiple times

For CLI-specific session querying and `/chronicle` commands, see [AUTOTITLE](/copilot/how-tos/copilot-cli/use-copilot-cli/chronicle). For conceptual information about how session data is stored and synced, see [AUTOTITLE](/copilot/concepts/agents/copilot-cli/chronicle).

## Continue a session's work in {% data variables.copilot.copilot_chat %}

You can pass context between {% data variables.copilot.copilot_chat_short %} and your {% data variables.copilot.copilot_cloud_agent %} sessions on {% data variables.product.github %}.

When you start a session from {% data variables.copilot.copilot_chat_short %}, it incorporates the context of your conversation, and while the session runs, {% data variables.copilot.copilot_chat_short %} reflects its status so you can ask follow-up questions.

When a session is complete, or when you are viewing a pull request {% data variables.product.prodname_copilot_short %} created, you can ask what changed, what was validated, and why, and {% data variables.product.prodname_copilot_short %} will answer by drawing on the session logs. You can also start another session directly from {% data variables.copilot.copilot_chat_short %}.

For more information, see [AUTOTITLE](/copilot/concepts/chat) and [AUTOTITLE](/copilot/tutorials/explore-pull-requests).

## Further reading

* [AUTOTITLE](/copilot/tutorials/cloud-agent/get-the-best-results)
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ You can ask {% data variables.product.prodname_copilot_short %} to start work fr
> [!NOTE]
> If you have enabled the **New Dashboard Experience** in feature preview, the new session will appear in "Agent sessions" under the prompt box in your dashboard. For more information, see [AUTOTITLE](/account-and-profile/reference/personal-dashboard#home-dashboard-view).

## Starting from Copilot Chat
## Starting from {% data variables.copilot.copilot_chat_short %}

When you start a task from {% data variables.copilot.copilot_chat_short %}, the new {% data variables.copilot.copilot_cloud_agent %} session incorporates the context of your current chat conversation. This means you don't need to restate details you have already shared with {% data variables.product.prodname_copilot_short %} in your `/task` prompt.

1. Open {% data variables.copilot.copilot_chat %} on {% data variables.product.prodname_dotcom_the_website %}.
1. Type `/task` to ask {% data variables.product.prodname_copilot_short %} to create a pull request, and give details of what you want {% data variables.product.prodname_copilot_short %} to change.
Expand Down
10 changes: 5 additions & 5 deletions content/copilot/reference/ai-models/supported-models.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ For all of the default AI models, input prompts and output completions run throu

## Supported AI models in {% data variables.product.prodname_copilot_short %}

This table lists the AI models available in {% data variables.product.prodname_copilot_short %}, along with their release status and availability in different modes.
This table lists the AI models available in {% data variables.product.prodname_copilot_short %}, along with their release status.

{% rowheaders %}

| Model name | Provider | Release status | Agent mode | Ask mode | Edit mode |
|--------------------------------------------------------|-----------|----------------------------|------------|----------|-----------|
| Model name | Provider | Release status |
|--------------------------------------------------------|-----------|----------------------------|
| {% for model in tables.copilot.model-release-status %} |
| {{ model.name }}{% if model.name == 'GPT-5.4 nano' %}[^gpt54nano]{% endif %}{% if model.name == 'MAI-Code-1-Flash' %}[^mai-code-1-flash]{% endif %}{% if model.name == 'Claude Fable 5' %}[^claude-fable-5]{% endif %}| {{ model.provider }} | {{ model.release_status }} | {% if model.agent_mode == true %}{% octicon "check" aria-label="Included" %}{% else %}{% octicon "x" aria-label="Not included" %}{% endif %} | {% if model.ask_mode == true %}{% octicon "check" aria-label="Included" %}{% else %}{% octicon "x" aria-label="Not included" %}{% endif %} | {% if model.edit_mode == true %}{% octicon "check" aria-label="Included" %}{% else %}{% octicon "x" aria-label="Not included" %}{% endif %} |
| {{ model.name }}{% if model.name == 'GPT-5.4 nano' %}[^gpt54nano]{% endif %}{% if model.name == 'MAI-Code-1-Flash' %}[^mai-code-1-flash]{% endif %}{% if model.name == 'Claude Fable 5' %}[^claude-fable-5]{% endif %}| {{ model.provider }} | {{ model.release_status }} |
| {% endfor %} |

{% endrowheaders %}
Expand Down Expand Up @@ -160,7 +160,7 @@ For more information about fallback and LTS models, see [AUTOTITLE](/copilot/con
{% data variables.product.prodname_copilot %} offers access to evaluation models.

> [!IMPORTANT]
> * Testing revealed evaluation models may perform worse than other models on security-related, or other categories of prompts.
> * Testing revealed evaluation models may perform worse than other models on security-related, or other categories of prompts.
> * Users should always carefully review and validate code, including code security, using a range of models and with a thorough human review before incorporating suggestions into production.

Evaluation models may appear in product with codenames rather than official model or provider names. These models come from, or are fine-tuned by, one or more of the following providers: Microsoft, OpenAI, Anthropic, Google. Data handling for each provider is limited to GitHub's existing agreement with that provider, and evaluation models undergo GitHub and Microsoft testing and verification before release.
Expand Down
12 changes: 11 additions & 1 deletion content/copilot/tutorials/explore-pull-requests.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,16 @@ You can ask {% data variables.product.prodname_copilot_short %} to explain why a
* `Why has this workflow failed?`
* `What can I do to fix this issue?`

## Ask about a pull request created by {% data variables.product.prodname_copilot_short %}

When you view a pull request created by {% data variables.copilot.copilot_cloud_agent %}, you can ask {% data variables.product.prodname_copilot_short %} about the work it did. {% data variables.product.prodname_copilot_short %} retrieves the agent's session logs to explain what changed, what was validated, and why.

### Example prompts

* `What did {% data variables.product.prodname_copilot_short %} change in this pull request and why?`
* `What did {% data variables.product.prodname_copilot_short %} validate before opening this pull request?`
* `Summarize the agent session that created this pull request.`

## Further reading

* [AUTOTITLE](//copilot/tutorials/using-copilot-to-explore-a-codebase)
* [AUTOTITLE](/copilot/tutorials/using-copilot-to-explore-a-codebase)
Loading
Loading