# GitHub Copilot

GitHub Copilotを使用するには、まずGitHubアカウントを持ち、GitHub Copilotサービスに登録する必要があります。free版のサブスクリプションでも可能ですが、free版では最新のClaude 3.7モデルはサポートされません。詳細は [GitHub Copilot 公式サイト](https://github.com/features/copilot)を提供する。

## Device Codeを取得

「GitHubにログイン」をクリックして、Device Codeを取得してコピーします。

<figure><img src="/files/c0fb1fe3aa1052e7c255ecaad777b1d9f69e956b" alt="获取 Device Code 示例图片"><figcaption><p>Device Codeを取得</p></figcaption></figure>

## ブラウザでDevice Codeを入力して承認

Device Codeの取得に成功したら、リンクをクリックしてブラウザを開き、ブラウザでGitHubアカウントにログインし、Device Codeを入力して承認します。

<figure><img src="/files/543951eb3deb9b4fc6e48c3c6ba2ec5cf307512c" alt="GitHub授权.png 示例图片"><figcaption><p>GitHubの認可</p></figcaption></figure>

認可が成功したらCherry Studioに戻り、「GitHubに接続」をクリックします。成功するとGitHubのユーザー名とアバターが表示されます。

<figure><img src="/files/2aed496aadcefc64a10ee7dc40478cc666da1bbd" alt="GitHub连接成功示例图片"><figcaption><p>GitHub接続成功</p></figcaption></figure>

## 「管理」をクリックしてモデル一覧を取得

下の「管理」ボタンをクリックすると、現在サポートされているモデル一覧を自動的にオンラインで取得します。

<figure><img src="/files/75eefd36110cb4913e7557a01b439f8eb81798a9" alt="管理按钮获取模型列表示例图片"><figcaption><p>モデル一覧を取得</p></figcaption></figure>

## よくある質問

### Device Codeの取得に失敗しました。再試行してください

<figure><img src="/files/bbca8703cbe1ae33b549a1cd30715f1e5b802423" alt="获取 Device Code 失败示例图片"><figcaption><p>Device Codeの取得に失敗しました</p></figcaption></figure>

現在はAxiosを使ってリクエストを構築していますが、Axiosはsocksプロキシをサポートしていません。システムプロキシまたはHTTPプロキシを使用するか、CherryStudioでプロキシを設定せずにグローバルプロキシを使用してください。まず、Device Codeの取得失敗を避けるため、ネットワーク接続が正常であることを確認してください。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cherry-ai.com/docs/jp/pre-basic/providers/github-copilot.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
