/v1 API. Use it for LiteLLM proxies, vLLM, local OpenAI servers, or
other OpenAI-shaped gateways when you do not need a provider-specific setup page.
You can connect multiple OpenAI-compatible endpoints. Each connection needs
a name so Roomote can keep their credentials, discovered models, and model ids
separate.
Configure an OpenAI-compatible endpoint
In Settings > Models, add OpenAI-compatible, enter a connection name (for examplecompany-proxy), and provide the endpoint URL. An API key is
optional and only needed when your endpoint requires bearer auth.
Choose API protocol for each connection:
- Chat Completions uses
/v1/chat/completionsand is the default for existing connections. - Responses API uses
/v1/responsesnatively, including streaming function calls and tool outputs. Use this for Responses-only gateways; no translation proxy is needed.
company-proxy:
http://litellm:4000/v1 when the
proxy runs on the same private network. Do not use localhost unless the
endpoint runs in the same network namespace as the Roomote service that proxies
inference requests.
After saving the provider, Roomote discovers models from /v1/models. Enable
the models you want and select a default coding model and any specialized roles.
Model IDs use the openai-compatible-<connection>/<model-id> form, where
<connection> is the slug from the connection name and <model-id> is the
name returned by your endpoint.
For a Responses connection, also set
OPENAI_COMPATIBLE_COMPANY_PROXY_PROTOCOL=responses. For the legacy default
connection, use OPENAI_COMPATIBLE_PROTOCOL alongside the existing base URL and
optional key. Accepted values are chat-completions and responses; an omitted
value uses Chat Completions. Settings and the model tool-call check reject any
other value, and tasks treat it as Chat Completions.
When to use this versus LiteLLM, Ollama, or vLLM
Choose OpenAI-compatible when you want one clear setup path for any OpenAI API endpoint, or when you need several custom endpoints side by side. Choose the named LiteLLM, Ollama, or vLLM providers when you prefer those labels or their dedicated env var names. Those providers use Chat Completions. For a Responses-only endpoint, use an OpenAI-compatible connection with Responses API selected.Secure the endpoint
Keep the endpoint private to Roomote whenever possible. Put it on an internal network or behind a private ingress, require an API key when the server supports it, and use TLS when traffic crosses an untrusted network. Store connection API keys in your deployment secret manager or as encrypted Roomote deployment variables, not in an environment’s task variables or repository files. Roomote proxies model traffic through its inference gateway, so task sandboxes do not need direct network access to the endpoint or the API key.Verify setup
- add OpenAI-compatible with a connection name, endpoint URL, API protocol, and optional API key
- confirm models appear in Settings > Models under that connection
- enable one model and make it the default coding model
- start a small Roomote task and confirm it completes through the endpoint
- check the upstream server logs for the request
/v1/models regardless of protocol. A successful listing
does not verify inference compatibility. When you save a connection, Roomote
also checks that the endpoint serves the selected protocol’s route and warns if
it does not.
First-run setup additionally runs a model tool-call check with the selected
protocol. For Chat Completions it verifies a streamed function call. For
Responses it verifies a streamed function call, sends its tool output, and
verifies a completed streamed reply: the endpoint must accept
function_call_output with the original call ID and conversation history
(store: false); server-side response storage is not required.
Common issues
- No models appear. Confirm the endpoint URL includes the OpenAI
/v1API path and that the API key can list models when auth is required. - Tasks cannot reach the endpoint. Check DNS, container networking, firewall rules, and whether the endpoint is reachable from the Roomote deployment.
- Tool calling fails. Roomote needs models that support tool calling. Confirm
the upstream model and gateway configuration expose streamed tools and tool
output continuation over the selected protocol. A
/v1/responses404 usually means the endpoint URL or selected protocol is incorrect; Roomote does not silently fall back to Chat Completions. - Two endpoints collide. Give each OpenAI-compatible connection a distinct
name so their env vars and
openai-compatible-<name>/...model ids stay unique.