> 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/advanced-basic/developer-tools.md).

# Разработка и диагностика

Этот набор функций предназначен для пользователей, которым нужно управлять программным CLI, разрешать другим локальным программам вызывать модель или разбираться с проблемами запросов. Для повседневного общения и работы с контентом включать режим разработчика не нужно.

### Два входа

| Вход                                            | Назначение                                                                                        | Перед использованием сначала убедитесь                     |
| ----------------------------------------------- | ------------------------------------------------------------------------------------------------- | ---------------------------------------------------------- |
| Лаунчер «Кодовый напарник»                      | Установка, настройка и запуск распространённых программных CLI                                    | Источник установки, подключение к модели и рабочий каталог |
| \[Настройки] → \[API-шлюз]                      | Предоставляет совместимый API локальным программам и также является зависимостью для работы Agent | Состояние, порт и безопасность ключа                       |
| \[Настройки] → \[Общие] → \[Режим разработчика] | Просматривать цепочку вызовов, чтобы находить ошибки модели и инструментов                        | В журналах может содержаться чувствительная информация     |

<figure><img src="/files/d479a265ef821d5d21385c9c74377285132c4607" alt="API 网关的运行状态、地址、端口和密钥区域"><figcaption><p>Страница API-шлюза централизованно отображает состояние работы, адрес, порт и учетные данные.</p></figcaption></figure>

{% hint style="warning" %}
Ключи API-шлюза и содержимое запросов в цепочке вызовов могут содержать чувствительную информацию. В скриншотах, issue и групповых чатах делитесь только необходимыми фрагментами с замаскированными данными.
{% endhint %}

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Кодовый напарник</strong></td><td>Установка, настройка и запуск распространённых программных CLI</td><td></td></tr><tr><td><strong>API-шлюз</strong></td><td>Понимание зависимостей Agent и локальных API-вызовов</td><td></td></tr><tr><td><strong>Цепочка вызовов и режим разработчика</strong></td><td>Воспроизвести и определить конкретный запрос</td><td></td></tr></tbody></table>

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>API-шлюз</strong></td><td>Понимание зависимостей Agent и локальных API-вызовов</td><td><a href="/pages/a4321a5a80a069fab0b35d400f4ac93eafb3c158">/pages/a4321a5a80a069fab0b35d400f4ac93eafb3c158</a></td></tr><tr><td><strong>Цепочка вызовов и режим разработчика</strong></td><td>Воспроизвести и определить конкретный запрос</td><td><a href="/pages/aceae51d71363dda2d707df505950d7ff0ad3a28">/pages/aceae51d71363dda2d707df505950d7ff0ad3a28</a></td></tr></tbody></table>


---

# 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/advanced-basic/developer-tools.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.
