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

# 開發同診斷

呢組功能係俾需要畀其他本機程式去調用模型，或者排查請求問題嘅用戶用。日常傾偈同內容工作唔需要開啟開發者模式。

## 兩個入口

| 入口                | 用途                            | 使用前先確認      |
| ----------------- | ----------------------------- | ----------- |
| 【設定】→【API 網關】     | 向本機程式提供兼容 API，亦都係 Agent 嘅運行依賴 | 狀態、端口同密鑰安全  |
| 【設定】→【系統】→【開發者模式】 | 睇調用鏈，定位模型同工具錯誤                | 日誌入面可能含敏感內容 |

<figure><img src="/files/f56913fa7f9c42b3f4c07b4f15f3763bcf808304" 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/93a01eb7f8ad077375a6d2d472f9960142715d50">/pages/93a01eb7f8ad077375a6d2d472f9960142715d50</a></td></tr><tr><td><strong>調用鏈同開發者模式</strong></td><td>重現並定位一次具體請求</td><td><a href="/pages/f320cb547553d0cf85180469df9ddb51b388730e">/pages/f320cb547553d0cf85180469df9ddb51b388730e</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/zhong-wen-fan-ti/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.
