Skip to content

Commit 93e357f

Browse files
authored
Use a neutral example for the gateway endpoint (#14)
The configuration docs named a specific commercial gateway, with its URL, its key format, a model id from its catalogue and a curl against its endpoint. The setting works with any OpenAI-compatible endpoint, so the example does not need a vendor, and naming one reads as an endorsement we did not make. The substance is unchanged: model names travel verbatim, and a namespaced catalogue wants both halves of the name.
1 parent 019e647 commit 93e357f

2 files changed

Lines changed: 9 additions & 16 deletions

File tree

.env.example

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,11 @@ OPENAI_API_KEY=
6060
#
6161
# Model names travel verbatim, so use whatever the endpoint publishes. An endpoint that namespaces
6262
# its catalogue wants both halves of the name, in `BOT_MODEL` and in the tenant package's
63-
# `default_model` alike. LLMTR, a gateway that fronts several providers and hosts models in Turkey
64-
# for deployments that need the data to stay there, addressed that way:
63+
# `default_model` alike:
6564
#
66-
# OPENAI_BASE_URL=https://llmtr.com/v1
67-
# OPENAI_API_KEY=llmtr-...
68-
# BOT_MODEL=openai/gpt-4o # or llmtr/gemma-4, or anthropic/claude-sonnet-4.5
69-
#
70-
# Its catalogue is public and needs no key: https://llmtr.com/v1/models
65+
# OPENAI_BASE_URL=https://gateway.internal/v1
66+
# OPENAI_API_KEY=...
67+
# BOT_MODEL=openai/gpt-4o
7168
#
7269
# OPENAI_BASE_URL=
7370

docs/configuration.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,12 @@ The other two providers work the same way under their own names, because they ar
5656

5757
Model names travel verbatim, so use whatever the endpoint publishes. An endpoint that namespaces its catalogue wants both halves of the name, in `BOT_MODEL` and in the tenant package's `default_model` alike.
5858

59-
[LLMTR](https://llmtr.com) is one such gateway. It fronts OpenAI, Anthropic, Google and others behind one key, and hosts models in Turkey for deployments that need the data to stay there, which is the same reason a deployment runs OpenBot on its own infrastructure. Addressed the usual way:
59+
A gateway that fronts several providers behind one key is addressed the usual way:
6060

6161
```sh
62-
OPENAI_BASE_URL=https://llmtr.com/v1
63-
OPENAI_API_KEY=llmtr-...
64-
BOT_MODEL=openai/gpt-4o # or llmtr/gemma-4, or anthropic/claude-sonnet-4.5
62+
OPENAI_BASE_URL=https://gateway.internal/v1
63+
OPENAI_API_KEY=...
64+
BOT_MODEL=openai/gpt-4o
6565
```
6666

6767
and in the tenant package, where the name is namespaced the same way:
@@ -73,11 +73,7 @@ model:
7373
default_model: openai/gpt-4o
7474
```
7575
76-
Its catalogue is public and needs no key, so the names above can be checked before anything is configured:
77-
78-
```sh
79-
curl -s https://llmtr.com/v1/models
80-
```
76+
Most gateways publish a model list, which is the way to check a name before configuring it.
8177
8278
Two things are worth knowing before pointing a deployment at any gateway. Not every catalogue entry accepts tools, and a Bot without tool calling cannot drive its computer; the model list says which do. And `BOT_RESPONSES_API=true` needs an endpoint that implements the Responses API, not only chat completions.
8379

0 commit comments

Comments
 (0)