OpenClaw
OpenClaw takes a provider block in its config. Add one for the console and reference the key from the environment.
{
"models": {
"providers": {
"jatevo": {
"baseUrl": "https://jatevo.ai/v1",
"api": "openai-completions",
"apiKey": "$JATEVO_API_KEY",
"models": [{ "id": "<model id>", "name": "<model id>" }]
}
}
},
"agents": { "defaults": { "model": { "primary": "jatevo/<model id>" } } }
}
Not run here: this block was not executed on the server that serves this page.
Put the key in the gateway's environment as JATEVO_API_KEY and restart it. The model ids come from GET https://jatevo.ai/v1/models with the key.
If OpenClaw runs on another machine, the console needs to be reachable from it: a public hostname with TLS, or a private network between the two.