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

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

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

## Два входа

| Вход                                       | Назначение                                                                                         | Перед использованием проверьте                           |
| ------------------------------------------ | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------- |
| 【Настройки】→【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>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.
