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

# Cline

> Hubungkan Cline langsung ke CerasAI dengan penyedia kompatibel OpenAI.

## Sebelum memulai

Pasang Cline CLI, buat kunci pada halaman [API Keys](https://console.cerasai.cloud/keys), dan pilih model di halaman [Models](https://console.cerasai.cloud/models).

**1. Konfigurasikan CerasAI**

Jalankan `cline auth`, pilih **OpenAI Compatible**, lalu masukkan:

| Pengaturan | Nilai |
| - | - |
| Base URL | `https://api.cerasai.cloud/v1` |
| API key | API key CerasAI Anda |
| Model ID | ID lengkap dari [Models](https://console.cerasai.cloud/models), seperti `deepseek-ai/DeepSeek-V4.1-Flash-1017` |

Contoh di bawah menggunakan `deepseek-ai/DeepSeek-V4.1-Flash-1017`. Ganti dengan ID model pilihan Anda dan sesuaikan batas token serta pengaturan penalaran yang didukung.

> [accordion] Opsional: sunting pengaturan penyedia
>
> Sunting entri yang dibuat oleh `cline auth` sambil mempertahankan penyedia lain, `updatedAt`, dan `tokenSource`. Jaga kerahasiaan API key dan atur batas token sesuai model Anda.
>
> ```json <data-dir>/settings/providers.json theme={"system"}
> {
>   "version": 1,
>   "lastUsedProvider": "openai-compatible",
>   "modes": {},
>   "providers": {
>     "openai-compatible": {
>       "settings": {
>         "provider": "openai-compatible",
>         "apiKey": "your-key",
>         "model": "deepseek-ai/DeepSeek-V4.1-Flash-1017",
>         "baseUrl": "https://api.cerasai.cloud/v1",
>         "protocol": "openai-chat",
>         "client": "openai-compatible",
>         "reasoning": {
>           "enabled": true,
>           "effort": "high"
>         },
>         "capabilities": [
>           "reasoning",
>           "streaming",
>           "tools"
>         ],
>         "contextWindow": 1048576,
>         "maxTokens": 393216
>       },
>       "updatedAt": "2026-09-29T00:00:00.000Z",
>       "tokenSource": "manual"
>     }
>   }
> }
> ```

**2. Mulai percakapan**

```bash Jalankan Cline theme={"system"}
cline --tui --provider openai-compatible \
  --model deepseek-ai/DeepSeek-V4.1-Flash-1017 --thinking high --auto-approve false
```

Gunakan `/model` untuk berganti model dalam percakapan yang sama.

## Tingkat penalaran

Gunakan `--thinking low` atau `--thinking high` saat memulai atau melanjutkan Cline. Nilai `max` tidak didukung.

> [accordion] Atur tingkat penalaran saat melanjutkan percakapan
>
> ```bash Lanjutkan sesi Cline theme={"system"}
> cline --tui --id SESSION_ID --provider openai-compatible \
>   --model deepseek-ai/DeepSeek-V4.1-Flash-1017 --thinking low --auto-approve false
> ```
>
> Dapatkan `SESSION_ID` dari `cline history`. Pertahankan `--data-dir` yang sama jika Anda menggunakannya.

Perintah `/model` mereset tingkat penalaran yang dipilih saat memulai.

Masalah yang berlaku bagi seluruh agen tercantum pada [Masalah umum](https://docs.cerasai.com/id/agent-integrations#masalah-umum).

## Sumber daya

* [Dokumentasi Cline](https://docs.cline.bot/cli/cli-reference)
* [Model CerasAI](https://console.cerasai.cloud/models)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.