Skip to main content

Using Copilot cloud agent on GitHub Mobile

Start and track Copilot云代理 sessions from the GitHub Mobile app.

谁可以使用此功能?

Copilot云代理 适用于所有付费 Copilot 计划。

代理在所有存储于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 云代理的 AI 模型”。

  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