> ## 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.

# تكوين نموذج مخصص لـ Qwen Code CLI

> AceDataCloud Coding Plan API guide - Ace Data Cloud

يستخدم Qwen Code تكوين `modelProviders` في `~/.qwen/settings.json` لمزود مخصص. هنا يتم استخدام بروتوكول متوافق مع OpenAI بشكل ثابت.

## التكوين

```json theme={null}
{
  "modelProviders": {
    "acedatacloud": [
      {
        "id": "MODEL_ID",
        "name": "MODEL_ID",
        "envKey": "ACEDATACLOUD_API_KEY",
        "baseUrl": "https://api.acedata.cloud/v1",
        "provider": "openai"
      }
    ]
  },
  "providerProtocol": { "acedatacloud": "openai" }
}
```

يجب أن يكون `modelProviders.acedatacloud` مصفوفة. إدخالات المزود هي تكوينات مستقلة، ولن ترث تلقائيًا أي معلمات من السياق العلوي أو الرأس أو الجسم.

## التحقق

```bash theme={null}
export ACEDATACLOUD_API_KEY="PASTE_YOUR_ACEDATACLOUD_API_TOKEN_HERE"
qwen --auth-type openai --model MODEL_ID --output-format stream-json \
  --prompt "Reply only OK"
```

ادخل ثم أرسل `Reply only OK`، ثم قم بتشغيل أداة قراءة الملفات مرة أخرى. إذا كانت نقطة النهاية متوافقة بشكل صارم ترفض تنسيق نتائج الأداة، يرجى التحقق من إصدار Qwen Code الحالي وبيان التوافق الرسمي.

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

* [إعدادات Qwen Code](https://qwenlm.github.io/qwen-code-docs/en/users/configuration/settings/)
* [مزودو نماذج Qwen Code](https://github.com/QwenLM/qwen-code/blob/main/docs/users/configuration/model-providers.md)

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


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