> 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="/files/da467ee2748a50eeb5df78625ffdb6fc9edd638a" alt="获取 Device Code 示例图片"><figcaption><p>Получить Device Code</p></figcaption></figure>

## Введите Device Code в браузере и предоставьте доступ

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

<figure><img src="/files/df042fa1bb41a86b812cfd196027ae7b8b281b85" alt="GitHub授权.png 示例图片"><figcaption><p>Авторизация GitHub</p></figcaption></figure>

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

<figure><img src="/files/f160ca806436b7c7155bdb691d5cd507a576bd9b" alt="GitHub连接成功示例图片"><figcaption><p>Подключение к GitHub успешно</p></figcaption></figure>

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

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

<figure><img src="/files/c524619c4f918e33b5bd0efff437f5aca57aef19" alt="管理按钮获取模型列表示例图片"><figcaption><p>Получить список моделей</p></figcaption></figure>

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

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

<figure><img src="/files/9daa68f03db6b7fd2647ff15fc934505cd7a36d7" 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.
