Roo Code · Gatelum
Roo Code is an agent for VS Code: it reads files, edits code and runs commands. It connects as an OpenAI-compatible provider.
Connection values · not an app screenshot
Example setup
ApplicationRoo Code
GatelumAPI gateway
Model IDanthropic/claude-sonnet-4.6
- Base URL
https://api.gatelum.com/v1- Your API key
glt_YOUR_KEY
Connection steps
Open the Roo Code panel and click the gear — Settings open on the Providers tab.
Set the API Provider to OpenAI Compatible.
Base URL takes our address with
/v1; API Key takes your key.Put the catalog model ID into Model ID and save your settings.
Give the agent a task: function calling is supported.
Roo Code → Settings → Providers
API Provider: OpenAI Compatible
Base URL: https://api.gatelum.com/v1
API Key: glt_YOUR_KEY
Model ID: anthropic/claude-sonnet-4.6Connection check
Send one short request: it checks the key, the address and the chosen model.
curl
curl https://api.gatelum.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer glt_YOUR_KEY" \
-d '{"model":"anthropic/claude-sonnet-4.6","messages":[{"role":"user","content":"ping"}]}'A normal answer means the setup is correct. 401 points to the key, 404 to the address or model, 400 to the request format.
Good to knowRoo Code requires native tool calling: a model without it will not work in the agent, and the gateway supports function calling. In Model Configuration set Context Window from the catalog and enable Image Support only for models marked “Understands images”.
Gateway capabilities and limitsAgentic modes work because the gateway can call
functions. JSON output (response_format) is accepted on OpenAI-compatible routes, while a model reachable only through a direct Anthropic or Google connection answers unsupported_capability. The retired functions format behaves differently: it returns parameter_not_supported, so no parameter disappears without an explanation. Only models the catalog tags "Understands images" may accept pictures — they travel as an image_url part holding a data:image/png;base64,… address (PNG, JPEG and WebP are allowed, a file may weigh up to 5 MB, and a request carries at most 50). Remote addresses are never downloaded, while a model lacking the tag answers bad_request. Each error, bad_request as well as parameter_not_supported, states the reason plainly.