> 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/pre-basic/settings/providers.md).

# モデルサービス設定

現在のページはインターフェース機能の紹介のみです。設定チュートリアルは、基礎チュートリアルの [サービスプロバイダー設定](/docs/jp/pre-basic/providers.md) チュートリアル。

{% hint style="info" %}

* 組み込みサービスプロバイダーを使用する場合は、対応するシークレットキーを入力するだけで構いません。
* サービスプロバイダーによってシークレットの呼び方は異なる場合がありますが、シークレット、Key、API Key、トークンなどはすべて同じものを指します。
  {% endhint %}

### API シークレットキー

Cherry Studio では、1つのサービスプロバイダーで複数の Key をローテーション使用できます。ローテーション方式は、リストを先頭から末尾へ循環する方式です。

* 複数の Key は半角カンマで区切って追加します。例は以下のとおりです：

<pre><code><strong>sk-xxxx1,sk-xxxx2,sk-xxxx3,sk-xxxx4
</strong></code></pre>

{% hint style="warning" %}
必ず **半角** カンマを使用してください。
{% endhint %}

### API アドレス

組み込みサービスプロバイダーを使用する場合、通常は API アドレスを入力する必要はありません。変更が必要な場合は、必ず対応する公式ドキュメントに記載されたアドレスに従って入力してください。

> サービスプロバイダーから提供されたアドレスが <mark style="background-color:red;"><https://xxx.xxx.com></mark><mark style="background-color:green;">/v1/chat/completions</mark> この形式であれば、ルートアドレス部分（<mark style="background-color:red;"><https://xxx.xxx.com></mark>）だけを入力すれば構いません。
>
> Cherry Studio が残りのパス（<mark style="background-color:green;">/v1/chat/completions</mark>）を自動で連結します。要件どおりに入力しないと正常に使用できない場合があります。

{% hint style="info" %}
注：ほとんどのサービスプロバイダーの大規模言語モデルのルーティングは統一されており、通常は以下の操作は不要です。サービスプロバイダーのリクエストルーティングが一般的な <mark style="background-color:green;">/v1/chat/completions</mark> ではない場合、API アドレス欄に手動で **完全な API アドレス**、そして `#`で終わらせてください。

つまり：

* API アドレスが `#` で終わる場合は連結処理を行わず、入力したアドレスのみを使用します。 <img src="/files/5edb558fbaed68d308ce02c474a97f3c2f642901" alt="" data-size="original">
  {% endhint %}

### モデルを追加

通常は、サービスプロバイダー設定ページの左下にある `管理` ボタンをクリックすると、そのサービスプロバイダーで呼び出し可能なすべてのモデルを自動取得します。取得した一覧から `+` 記号をクリックしてモデル一覧に追加するだけです。

{% hint style="info" %}
管理ボタンをクリックしても、ポップアップ一覧のモデルがすべて追加されるわけではありません。モデルの右側にある `+` をクリックしてサービスプロバイダー設定ページのモデル一覧に追加して初めて、モデル選択リストに表示されます。
{% endhint %}

### 接続性チェック

API シークレットキー入力欄の後ろにあるチェックボタンをクリックすると、設定が成功しているかテストできます。

{% hint style="info" %}
モデルチェック時は、モデル一覧に追加済みのモデルのうち最後のチャットモデルがデフォルトで使用されます。チェックに失敗する場合は、モデル一覧に誤ったモデルやサポートされていないモデルが含まれていないか確認してください。
{% endhint %}

{% hint style="danger" %}
設定が成功したら、必ず右上のスイッチをオンにしてください。そうしないと、そのサービスプロバイダーは未有効のままで、モデル一覧で対応するモデルを見つけられません。
{% endhint %}

***

### 💡 ヘルプの取得とフィードバックの送信

設定や使用の過程で疑問、Bug、機能改善の提案がある場合は、 [フィードバックと提案](/docs/jp/question-contact/suggestions.md) に記載の公式チャネルをご参照ください。


---

# 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/jp/pre-basic/settings/providers.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.
