> 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/russian/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).

## Получение Device Code

Нажмите «Войти в GitHub», получите Device Code и скопируйте его.

<figure><img src="https://3765361039-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Ut5BptC3t8CtSU1UWpM%2Fuploads%2Fgit-blob-3202ba64930247e41213bc08cdcd88f11b980b14%2F%E8%8E%B7%E5%8F%96DeviceCode.png?alt=media" alt="获取 Device Code 示例图片"><figcaption><p>Получение Device Code</p></figcaption></figure>

## Введите Device Code в браузере и дайте разрешение

После успешного получения Device Code нажмите ссылку, чтобы открыть браузер, войдите в аккаунт GitHub в браузере, введите Device Code и дайте разрешение.

<figure><img src="https://3765361039-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Ut5BptC3t8CtSU1UWpM%2Fuploads%2Fgit-blob-6915465c0a9938a7b7009a82ada2e1b720880f0f%2FGitHub%E6%8E%88%E6%9D%83.png?alt=media" alt="GitHub授权.png 示例图片"><figcaption><p>Авторизация GitHub</p></figcaption></figure>

После успешной авторизации вернитесь в Cherry Studio, нажмите «Подключить GitHub», и после успеха отобразятся имя пользователя GitHub и аватар.

<figure><img src="https://3765361039-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Ut5BptC3t8CtSU1UWpM%2Fuploads%2Fgit-blob-e98cce5accc9f97d46b759a1b0ad3f554918d057%2FGitHub%E8%BF%9E%E6%8E%A5%E6%88%90%E5%8A%9F.png?alt=media" alt="GitHub连接成功示例图片"><figcaption><p>GitHub подключен успешно</p></figcaption></figure>

## Нажмите «Управление», чтобы получить список моделей

Нажмите кнопку «Управление» ниже, и список текущих поддерживаемых моделей будет автоматически получен из сети.

<figure><img src="https://3765361039-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Ut5BptC3t8CtSU1UWpM%2Fuploads%2Fgit-blob-e20eaf3f12878378cba6d40bd790d51aed40ee77%2F%E7%AE%A1%E7%90%86%E6%8C%89%E9%92%AE%E8%8E%B7%E5%8F%96%E6%A8%A1%E5%9E%8B%E5%88%97%E8%A1%A8.png?alt=media" alt="管理按钮获取模型列表示例图片"><figcaption><p>Получить список моделей</p></figcaption></figure>

## Частые вопросы

### Не удалось получить Device Code, попробуйте снова

<figure><img src="https://3765361039-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Ut5BptC3t8CtSU1UWpM%2Fuploads%2Fgit-blob-e826ac02f651176d07d95e7f0e603ff89d1eccdb%2F%E8%8E%B7%E5%8F%96DeviceCode%E5%A4%B1%E8%B4%A5.png?alt=media" alt="获取 Device Code 失败示例图片"><figcaption><p>Не удалось получить Device Code</p></figcaption></figure>

В настоящее время запросы формируются с использованием Axios; Axios не поддерживает SOCKS-прокси, поэтому используйте системный прокси или HTTP-прокси, либо вообще не настраивайте прокси в CherryStudio, а используйте глобальный прокси. Сначала убедитесь, что ваше сетевое соединение работает нормально, чтобы избежать ситуации, когда не удается получить Device Code.

***

### Получить помощь и отправить отзыв

Если в процессе настройки или использования у вас возникнут вопросы, баги или предложения по улучшению функций, пожалуйста, обратитесь к [Обратная связь и предложения](/docs/russian/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/russian/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.
