# Cline

Use Tensorix models with [Cline](https://github.com/cline/cline), the autonomous coding agent for VS Code.

## Installation

1. Open VS Code Extensions
2. Search for **"Cline"**
3. Click **Install**
4. Restart VS Code

## Configuration

1. Click **Use your own API key** in Cline
2. Under **API Provider**, select **OpenAI Compatible**
3. Configure the following:

| Setting  | Value                        |
| -------- | ---------------------------- |
| Base URL | `https://api.tensorix.ai/v1` |
| API Key  | Your Tensorix API key        |
| Model    | `minimax/minimax-m2`         |

4. Click **Let's go!** and then **Done**

## Available Models

| Model             | ID                     | Best For                        |
| ----------------- | ---------------------- | ------------------------------- |
| GLM-5.1 (Default) | `z-ai/glm-5.1`         | Coding, reasoning, functions    |
| MiniMax-M2.5      | `minimax/minimax-m2.5` | Reasoning, functions            |
| Kimi-K2.5         | `moonshotai/kimi-k2.5` | Vision, functions, long context |
| MiniMax-M2        | `minimax/minimax-m2`   | Coding, fast responses          |

## Tips

* Cline works best with models that have strong reasoning capabilities
* MiniMax-M2/M2.5 is recommended for complex multi-file operations
* Use GLM-5.1 when you need function/tool calling


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tensorix.ai/ai-coding-assistants/cline.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
