> For the complete documentation index, see [llms.txt](https://docs.cherryai.com.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cherryai.com.cn/docs/jp/pre-basic/providers/github-copilot.md).

# GitHub Copilot

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

## デバイスコードを取得

「GitHub にログイン」をクリックして、デバイスコードを取得し、コピーします。

<figure><img src="/files/c0fb1fe3aa1052e7c255ecaad777b1d9f69e956b" alt="获取 Device Code 示例图片"><figcaption><p>デバイスコードを取得</p></figcaption></figure>

## ブラウザでデバイスコードを入力して承認

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

<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>

## よくある質問

### デバイスコードの取得に失敗しました。再試行してください

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

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

***

### 💡 ヘルプの取得とフィードバックの送信

設定や使用の過程で疑問、Bug、機能改善の提案がある場合は、 [フィードバックと提案](/docs/jp/question-contact/suggestions.md) に記載の公式チャネルをご参照ください。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.cherryai.com.cn/docs/jp/pre-basic/providers/github-copilot.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
