Cline is a VS Code extension that provides an autonomous AI coding assistant. It can read files, write code, run commands, and iterate on its work.Documentation Index
Fetch the complete documentation index at: https://docs.infercom.ai/llms.txt
Use this file to discover all available pages before exploring further.
Setup time: ~2 minutes
Prerequisites
- VS Code installed
- Cline extension installed
- Infercom API key
Configuration
Step 1: Open Cline Settings
- Open VS Code
- Click the Cline icon in the sidebar
- Click the gear icon to open settings
Step 2: Select Provider
- In the API Provider dropdown, select OpenAI Compatible
- Enter the base URL:
https://api.infercom.ai/v1 - Enter your Infercom API key
- Enter the model name:
MiniMax-M2.7
Step 3: Model Configuration
Under Model Configuration:| Setting | Value |
|---|---|
| Context Window Size | 192000 |
| Support Images | Disabled |
| Enable R1 Format | Disabled |
Step 4: Verify Connection
Click Test Connection or start a conversation to verify the setup works.Optional: Plan/Act Modes
For complex tasks, Cline supports separate models for planning and execution. Use a frontier model (Claude, GPT, Gemini) for planning and MiniMax-M2.7 on Infercom for fast code generation.Enable Plan/Act Modes
- In Cline settings, toggle “Use different models for Plan and Act modes”
- Configure each mode separately:
| Mode | Provider | Model | Purpose |
|---|---|---|---|
| Plan | Your preferred provider | Claude, GPT, Gemini | Deep reasoning for architecture decisions |
| Act | OpenAI Compatible (Infercom) | MiniMax-M2.7 | Fast code generation on EU sovereign infrastructure |
Model
UseMiniMax-M2.7 - optimized for agentic coding with 192K context window.
Usage
With Cline configured:- Click the Cline icon in VS Code sidebar
- Type your request in the chat
- Cline will autonomously:
- Read relevant files
- Write or edit code
- Run terminal commands
- Iterate until the task is complete
Example Tasks
- “Add error handling to the login function”
- “Write unit tests for the User class”
- “Refactor this file to use async/await”
Troubleshooting
Connection Failed
Verify your configuration:- Base URL:
https://api.infercom.ai/v1 - API key is valid
- Model name is exact:
MiniMax-M2.7
Model Not Found
Ensure the model name matches exactly (case-sensitive):MiniMax-M2.7
Slow Responses
MiniMax-M2.7 runs at 400+ tokens/sec. If responses seem slow:- Check your network connection
- Large context (many files) increases processing time
- First request may be slower due to model loading
Next Steps
- Cursor - Full AI-native IDE
- Continue - Open-source alternative
- Choosing a Tool - Compare all options