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

# 開発と診断

APIゲートウェイとコールチェーントラブルシューティング

この機能群は、プログラミング用CLIを管理したい人、他のローカルプログラムにモデルを呼び出させたい人、またはリクエストの問題を調査したい人向けです。日常のチャットやコンテンツ作業では開発者モードを有効にする必要はありません。

### 2つの入口

| 入口                 | 用途                                   | 使用前に確認                 |
| ------------------ | ------------------------------------ | ---------------------- |
| ランチャー【コーディングパートナー】 | 一般的なプログラミングCLIのインストール、設定、起動          | インストール元、モデル接続、作業ディレクトリ |
| 【設定】→【APIゲートウェイ】   | ローカルプログラムに互換APIを提供し、Agentの実行依存でもあります | ステータス、ポート、キーの安全性       |
| 【設定】→【一般】→【開発者モード】 | 呼び出しチェーンを確認し、モデルやツールのエラーを特定する        | ログには機密情報が含まれる可能性があります  |

<figure><img src="https://3776196818-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Ut5BptC3t8CtSU1UWpM%2Fuploads%2FDjnYG6w9pjOmYAv8JIA6%2Fclipboard.png?alt=media&amp;token=921b4f63-5610-47a9-a706-c788a36eae91" 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="/docs/jp/advanced-basic/developer-tools/api-gateway.md">APIゲートウェイ</a></td></tr><tr><td><strong>呼び出しチェーンと開発者モード</strong></td><td>特定のリクエストを再現して特定する</td><td><a href="/docs/jp/advanced-basic/developer-tools/trace.md">コールチェーンと開発者モード</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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.cherryai.com.cn/docs/jp/advanced-basic/developer-tools.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
