Skip to content

WorkBuddy

Use HopBase as WorkBuddy's OpenAI-compatible model provider.

WorkBuddy can call an OpenAI-compatible endpoint as its underlying model backend, so HopBase can serve the models behind it.

Paste a key from a chat group. The generator uses it to call GET /v1/models, lists the models WorkBuddy can use, and builds a command that writes the config file. Model IDs must match exactly, and reading them from your key rules out typos.

Your browser sends the key only to api.hop-base.com to read the model list. It never passes through or stays on the docs server.

The config file is ~/.workbuddy/models.json, or %USERPROFILE%\.workbuddy\models.json on Windows. WorkBuddy reloads it automatically, so the new models show up in the model dropdown right after you write it.

The command replaces the whole file and first backs up the old one as models.json.bak-<time>. If you had added models by hand, copy those entries back from the backup.

Fill in the settings by hand

SettingValue
Protocol / provider typeOpenAI (Chat Completions)
API address / Base URLhttps://api.hop-base.com/v1
API keyA key for a chat model group
ModelThe exact ID returned by GET /v1/models for that key

The settings screen takes the base URL. If you edit models.json directly, url needs the full endpoint:

https://api.hop-base.com/v1/chat/completions

Verified in production: WorkBuddy reaches POST /v1/chat/completions and streams normally.

Pick a chat-capable key

Sign in to the console and use a key whose group serves OpenAI-protocol chat models — GPT / Codex, GLM, Kimi K3, DeepSeek, Qwen, or Grok.

Read the exact model ID

curl https://api.hop-base.com/v1/models \
  -H "Authorization: Bearer sk-your-key"

Copy an ID from the response verbatim.

Fill in the provider

In WorkBuddy's model provider settings, choose the OpenAI-compatible type, then enter the base URL, the key, and the model ID from the steps above.

Send a test message

Ask for a one-word reply. A successful round trip confirms the key, the group, the protocol, and the model ID all line up.

Common errors

ErrorCauseFix
route_not_foundThe key belongs to an image or video group with no chat endpointUse a key from a chat model group
404 model_not_foundThe model ID is a short name such as glmUse the full ID, such as glm-5.3

Groups such as Kling, Seedance, MiniMax, and Wan / HappyHorse serve task-based media endpoints, not chat/completions. Model IDs carry a version or date, so always copy them from GET /v1/models.

Claude models

Claude uses the Anthropic protocol, not Chat Completions, so WorkBuddy cannot call it. Point WorkBuddy at a chat group that serves OpenAI-protocol models. See Third-party clients for the protocol-per-family table.

Long system prompts

WorkBuddy sends a large instruction context, so a single turn can carry tens of thousands of input tokens. Pick a model whose context window has room for it, and be aware that some families change pricing tier once input crosses a threshold — see the family's own page under Model integration.

Next steps