Skip to main content

Using Copilot cloud agent on GitHub Mobile

Start and track Copilot облачный агент sessions from the GitHub Mobile app.

Кто может использовать эту функцию?

Copilot облачный агент доступна с GitHub Copilot Pro, GitHub Copilot Pro+, GitHub Copilot для бизнеса и GitHub Copilot Enterprise планами. Агент доступен во всех репозиториях, хранящихся на GitHub, за исключением тех, которые принадлежат управляемые учетные записи пользователей и где он явно отключен.
Sign up for Copilot

В этой статье

Starting a session

  1. In GitHub Mobile, tap the icon in the bottom right corner of the screen, then tap New Session.

  2. Using the dropdown menu in the prompt field, select the repository you want Copilot to work in.

  3. Enter a prompt describing your request.

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

    If you want Copilot 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 Copilot's changes. Copilot will create a new branch based on this branch.

  5. По желанию выберите Пользовательский агент Со специальным поведением и инструментами в выпадающем меню. Дополнительные сведения см. в разделе Создание кастомных агентов для Copilot облачный агент.

  6. По желанию вы можете использовать выпадающее меню для выбора модели, которая Copilot будет использоваться. Дополнительные сведения см. в разделе Изменение модели ИИ для облачного агента GitHub Copilot.

  7. Click the submit button.

    Copilot will start a new session, work on the task, and push any code changes.

Assigning an issue to Copilot

  1. In GitHub Mobile, navigate to the repository that contains the issue you want to assign to Copilot.
  2. Click Issues.
  3. Open the issue that you want to assign to Copilot.
  4. Tap the icon.
  5. Beside "Assignees", tap Edit.
  6. Beside "Copilot", 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 GitHub Mobile.

  1. In the "Agents" section on the GitHub Mobile Home page, tap Agent Tasks.

    A list of the currently open pull requests, that you asked Copilot 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