> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aihubmix.com/llms.txt
> Use this file to discover all available pages before exploring further.

# WorkBuddy

> WorkBuddy で AIHubMix を設定し、AIHubMix 対応の任意のモデルを使用します。

WorkBuddy は OpenAI 互換のカスタムモデルに対応しています。AIHubMix を追加すると、GPT、Claude、Gemini、DeepSeek、GLM などの AIHubMix モデルを選択できます。

## 事前準備

* [WorkBuddy](https://www.codebuddy.cn/work/) をインストールして起動します。
* [AIHubMix コンソール](https://aihubmix.com/token) で API Key を作成します。通常は `sk-***` の形式です。
* AIHubMix のモデル一覧から使用するモデル ID をコピーします。

## 画面で AIHubMix モデルを設定する

入力欄右下のモデル選択（例：**Auto**）をクリックします。

<img src="https://mintcdn.com/aihubmix/hUWPsUQx34d5ps0-/public/cn/WorkBuddy-new-01.png?fit=max&auto=format&n=hUWPsUQx34d5ps0-&q=85&s=23bec09ea72b5e1b648177767cbde637" alt="WorkBuddy のモデル選択を開く" width="1920" height="1030" data-path="public/cn/WorkBuddy-new-01.png" />

リストの末尾で **Configure custom models** を選び、**Add Model** をクリックして **Provider** から **Custom** を選択します。

<img src="https://mintcdn.com/aihubmix/hUWPsUQx34d5ps0-/public/cn/WorkBuddy-new-02.png?fit=max&auto=format&n=hUWPsUQx34d5ps0-&q=85&s=688011a1c31e25045e159e9dc8190a80" alt="カスタムモデル設定を開く" width="1920" height="1030" data-path="public/cn/WorkBuddy-new-02.png" />

<img src="https://mintcdn.com/aihubmix/hUWPsUQx34d5ps0-/public/cn/WorkBuddy-new-03.png?fit=max&auto=format&n=hUWPsUQx34d5ps0-&q=85&s=1329120913f2155da65c2f7d357a282f" alt="Custom Provider を選択する" width="1920" height="1030" data-path="public/cn/WorkBuddy-new-03.png" />

* **Endpoint**：`https://aihubmix.com/v1`。必要な場合は `https://api.inferera.com/v1`。
* **API Key**：[AIHubMix コンソール](https://aihubmix.com/token) で作成した Key。
* **Model Name**：モデル ID。例：`gpt-5.5`。
* **Advanced Settings**：対応する機能だけ **Tool Calling**、**Image Input**、**Reasoning** を有効にします。

**Save** をクリックし、**Custom Models** からモデルを選択します。

<img src="https://mintcdn.com/aihubmix/hUWPsUQx34d5ps0-/public/cn/WorkBuddy-new-04.png?fit=max&auto=format&n=hUWPsUQx34d5ps0-&q=85&s=d5560d438a48fbfbb7ca07d8223eb9de" alt="WorkBuddy の設定を入力する" width="1920" height="1030" data-path="public/cn/WorkBuddy-new-04.png" />

<img src="https://mintcdn.com/aihubmix/hUWPsUQx34d5ps0-/public/cn/WorkBuddy-new-05.png?fit=max&auto=format&n=hUWPsUQx34d5ps0-&q=85&s=c3446153d25197ee20a5b9fab75a0821" alt="カスタムモデルを選択する" width="1920" height="1030" data-path="public/cn/WorkBuddy-new-05.png" />

## 設定ファイルからモデルを追加する

`%USERPROFILE%\.workbuddy\models.json` を編集します。

```json theme={null}
[{"id":"gpt-5.5","name":"gpt-5.5","vendor":"Custom","url":"https://aihubmix.com/v1","apiKey":"sk-***","supportsToolCall":true,"supportsImages":true,"supportsReasoning":false,"useCustomProtocol":false}]
```

予備アドレスを使う場合：

```json theme={null}
"url": "https://api.inferera.com/v1"
```

`id` と `name` はモデル ID、`vendor` は `Custom`、`apiKey` は AIHubMix Key です。`supportsImages` と `supportsToolCall` は **Image Input** と **Tool Calling** に対応します。変更後は WorkBuddy を再起動するか、モデル選択を開き直します。

## 動作確認

モデルを選択して短いメッセージを送信します。応答があれば設定完了です。

<img src="https://mintcdn.com/aihubmix/hUWPsUQx34d5ps0-/public/cn/WorkBuddy-new-06.png?fit=max&auto=format&n=hUWPsUQx34d5ps0-&q=85&s=d3cae4ea3b34d533d42d535e224cdcba" alt="応答を確認する" width="1920" height="1030" data-path="public/cn/WorkBuddy-new-06.png" />

対応モデルで **Image Input** を有効にした場合は、画像を送信して確認します。

<img src="https://mintcdn.com/aihubmix/hUWPsUQx34d5ps0-/public/cn/WorkBuddy-new-07.png?fit=max&auto=format&n=hUWPsUQx34d5ps0-&q=85&s=5ec910ae65fb3d929a34697473065fd2" alt="画像入力を確認する" width="1920" height="1030" data-path="public/cn/WorkBuddy-new-07.png" />

## よくある質問

**なぜ Custom を選ぶのですか？**
AIHubMix は OpenAI 互換インターフェースを使用するため、Endpoint、API Key、モデル名を入力します。組み込みプロバイダーは独自の API アドレスを自動使用する場合があります。

**保存後にモデルが表示されない場合**
モデル選択を開き直して **Custom Models** を確認します。**Save** を押したこと、モデル名が入力されていること、`%USERPROFILE%\.workbuddy\models.json` が有効な JSON であることを確認してください。

**リクエストが失敗する場合**
`/v1`、API Key、モデル ID を確認してください。主アドレスが利用できない場合は `https://api.inferera.com/v1` を使用します。

更新日：2026-07-10
