Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

docs(custom-engines): note empty instances, product additions and openaiCompat scope

AdityaUmale11cdbfc3e0ec
diff --git a/docs/custom-engines.md b/docs/custom-engines.md
index 1fd8770c7a..f6aa4b8ae5 100644
--- a/docs/custom-engines.md
+++ b/docs/custom-engines.md
@@ -6,10 +6,13 @@ after editing (instance entries are read at boot).
## `"instances"` is the whole engine list
-When `config.json` has an `"instances"` block, it replaces the built-in engine
-list instead of adding to it: an engine you don't list there is gone from
-Settings → AI → Providers and from every bot's model picker. With a block that holds
-only your custom entry, Claude, Codex and the other built-in engines disappear.
+When `config.json` has an `"instances"` block with at least one entry, it
+replaces the built-in engine list instead of adding to it: an engine you don't
+list there (apart from the set below that `claude`, `codex` or `grok` brings
+back) is gone from Settings → AI → Providers and from every bot's model picker.
+With a block that holds only your custom entry, Claude, Codex and the other
+built-in engines disappear. An empty `"instances": {}` block changes nothing:
+the built-in list stays.
To keep them, list the ones you want next to your own entry. Listing `claude`,
`codex` or `grok` also brings back a set of other built-in engines (ChatGPT
@@ -38,8 +41,11 @@ built-in list, with each engine's driver name, is `DEFAULT_FLEET` in
Without an `"instances"` block, the built-in list stays as it is. The older
top-level `"openaiCompat": { "key": …, "url": … }` setting doesn't change which
-engines are listed: it fills in the address and key of the built-in
-OpenAI-compatible engine.
+engines are listed. It fills in the address and key of the built-in
+OpenAI-compatible engine, and of every other `openai-compat` entry in
+`"instances"` that has no address of its own (the OpenAI and OpenRouter API-key
+engines keep their own). An entry with its own `"url"` (a different address)
+or its own key keeps them and doesn't get this key.
## Provider icons