Skip to content

Latest commit

 

History

History
57 lines (41 loc) · 3.43 KB

File metadata and controls

57 lines (41 loc) · 3.43 KB
title Using Copilot cloud agent on GitHub Mobile
shortTitle Use cloud agent on GitHub Mobile
intro Start and track {% data variables.copilot.copilot_cloud_agent %} sessions from the {% data variables.product.prodname_mobile %} app.
product {% data reusables.gated-features.copilot-cloud-agent %}<br><a href="https://github.com/features/copilot/plans?ref_product=copilot&ref_type=purchase&ref_style=button" target="_blank" class="btn btn-primary mt-3 mr-3 no-underline"><span>Sign up for {% data variables.product.prodname_copilot_short %}</span> {% octicon "link-external" height:16 %}</a>
versions
feature
copilot
contentType how-tos
allowTitleToDifferFromFilename true
category
Author and optimize with Copilot

Starting a session

  1. In {% data variables.product.prodname_mobile %}, tap the {% octicon "copilot" aria-hidden="true" aria-label="Copilot" %} icon in the bottom right corner of the screen, then tap {% octicon "agent" aria-label="The Agents icon" %} New Session.

  2. Using the dropdown menu in the prompt field, select the repository you want {% data variables.product.prodname_copilot_short %} to work in.

  3. Enter a prompt describing your request.

    For example: Implement a user friendly message for common errors.

    If you want {% data variables.product.prodname_copilot_short %} to open a pull request, you can ask in your prompt, for example Open a pull request to implement a user friendly message for common errors.

  4. Optionally, select a base branch for {% data variables.product.prodname_copilot_short %}'s changes. {% data variables.product.prodname_copilot_short %} will create a new branch based on this branch. {% data reusables.copilot.optional-select-custom-agent-generic %} {% data reusables.copilot.optional-select-copilot-cloud-agent-model %}

  5. Click the submit button.

    {% data variables.product.prodname_copilot_short %} will start a new session, work on the task, and push any code changes.

Assigning an issue to {% data variables.product.prodname_copilot_short %}

  1. In {% data variables.product.prodname_mobile %}, navigate to the repository that contains the issue you want to assign to {% data variables.product.prodname_copilot_short %}.
  2. Click Issues.
  3. Open the issue that you want to assign to {% data variables.product.prodname_copilot_short %}.
  4. Tap the {% octicon "info" aria-label="information" %} icon.
  5. Beside "Assignees", tap Edit.
  6. Beside "{% data variables.product.prodname_copilot_short %}", click the plus sign.
  7. Click Done.

Tracking your sessions

You can see a list of your running and past pull requests generated by agents in {% data variables.product.prodname_mobile %}.

  1. In the "Agents" section on the {% data variables.product.prodname_mobile %} Home page, tap Agent Tasks.

    A list of the currently open pull requests, that you asked {% data variables.product.prodname_copilot_short %} to generate, is displayed.

  2. Use the buttons at the top of the list to filter the list of pull requests.

    For example, to show only merged tasks, tap Open and then, in the dropdown, tap Merged.

    Screenshot of the status dropdown list with a check mark against 'Open'.

Further reading