> ## Documentation Index
> Fetch the complete documentation index at: https://docs.scitix.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Roo Code

[Roo Code](https://github.com/RooCodeInc/Roo-Code) is an active fork of Cline. It is a multi-mode coding agent for VS Code, with modes such as Code, Architect, Ask, and Debug. Its **OpenAI Compatible** provider accepts a custom Base URL, so it can run on the ScitiX Model Inference API.

Roo Code uses native tool calling only, with no XML prompt fallback. Choose a model that supports OpenAI-compatible function calling. `glm-5.2` supports it. For the full list and pricing, see the [model catalog](https://console.scitix.ai/model-inference/models).

## Configure

Create an API Key on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page first.

1. Click the Roo Code icon in the sidebar, then open **Settings (⚙️) → Providers**.

2. Under **API Provider**, select **OpenAI Compatible**.

3. Fill in the required fields.

   | Field    | Value                                                                                            |
   | -------- | ------------------------------------------------------------------------------------------------ |
   | Base URL | `https://api.scitix.ai/model-api/v1`                                                             |
   | API Key  | Your API Key created on the [API Keys](https://console.scitix.ai/model-inference/api_keys) page. |
   | Model    | `glm-5.2`                                                                                        |

4. Keep **Enable streaming** on.

5. Leave **Enable R1 model parameters** off. It is only for R1-style models such as QWQ.

6. Optional: adjust **Context Window** and **Max Output Tokens** under the model settings to match your chosen model.

   If the context window exceeds the actual value for the selected model, context overflow may occur.

7. Save the configuration.

<img src="https://mintcdn.com/scitix-adfc65c2/_I6H7WpAVXPiLIwE/model-inference/media/roo-provider-config.png?fit=max&auto=format&n=_I6H7WpAVXPiLIwE&q=85&s=3e02c3addf980e356c4ab655c8e7187c" alt="Roo Code — OpenAI Compatible provider with ScitiX Base URL and model" style={{ width: "80%", height: "auto" }} width="1022" height="942" data-path="model-inference/media/roo-provider-config.png" />

## Verify

Switch to **Code** mode and give Roo Code a task, such as "create test.txt in current folder and write in hello". Roo Code plans the task and requests to write the file. Approve the action. A normal reply confirms that the connection works.

<img src="https://mintcdn.com/scitix-adfc65c2/43gGw0_j4ULBL8e8/model-inference/media/roo-tool-call.png?fit=max&auto=format&n=43gGw0_j4ULBL8e8&q=85&s=abfb8990bc7324acbb2e5c29327ac3fb" alt="Roo Code — creating a file from a coding task" width="2868" height="664" data-path="model-inference/media/roo-tool-call.png" />

## FAQ

* **Stuck thinking, then errors / no tool calls**: the model does not support native tool calling. Roo Code has no XML fallback, so switch to a model that supports it. `glm-5.2` works.
* **404**: the Base URL ending in `/v1` is enough. No extra path is needed.
