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

# 開發同診斷

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

### 兩個入口

| 入口                | 用途                           | 使用前先確認         |
| ----------------- | ---------------------------- | -------------- |
| 啟動台【編碼搭檔】         | 安裝、設定同啟動常見編程 CLI             | 安裝來源、模型連線同工作目錄 |
| 【設定】→【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>編碼搭檔</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/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.
