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

# كود كيلو CLI إعداد نموذج مخصص

> AceDataCloud Coding Plan API guide - Ace Data Cloud

## 1. الحصول على مفتاح API

افتح [قائمة تطبيقات Ace Data Cloud](https://platform.acedata.cloud/console/applications)، انتقل إلى التطبيقات المتاحة ونسخ مفتاح API.

![الحصول على مفتاح API من Ace Data Cloud](https://cdn.acedata.cloud/dvc3cg.jpg)

## 2. الإعداد

يقرأ Kilo CLI ملف `kilo.jsonc`، ويستخرج مفتاح API من الصدفة التي تم تشغيل CLI منها.

اكتب في `~/.config/kilo/kilo.jsonc`:

```jsonc theme={null}
{
  "provider": {
    "acedatacloud": {
      "npm": "@ai-sdk/openai-compatible",
      "options": {
        "baseURL": "https://api.acedata.cloud/v1",
        "apiKey": "{env:ACEDATACLOUD_API_KEY}"
      },
      "models": { "MODEL_ID": { "name": "MODEL_ID" } }
    }
  },
  "model": "acedatacloud/MODEL_ID"
}
```

ثم في الصدفة الحالية قم بتصدير الرمز:

```bash theme={null}
export ACEDATACLOUD_API_KEY="PASTE_YOUR_ACEDATACLOUD_API_TOKEN_HERE"
```

## 3. التحقق

```bash theme={null}
kilo run -m acedatacloud/MODEL_ID "Reply only OK"
```

إذا لم يتمكن CLI من قراءة الرمز، تأكد من أن المتغير قد تم `export`، وليس فقط مكتوبًا في ملف `.env` غير المحمّل.

## المراجع الرسمية

* [موفر كود كيلو المخصص](https://kilo.ai/docs/ai-providers/openai-compatible)
* [كود كيلو CLI](https://kilo.ai/docs/code-with-ai/platforms/cli)

ارجع إلى [مركز إعداد خطة البرمجة](https://platform.acedata.cloud/documents/coding-plan-integration).


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