Hướng dẫn cấu hình OpenClaw để sử dụng AISieure.com
Cấu hình OpenClaw để sử dụng AISieure
Cấu hình qua JSON
Mở file cấu hình tại ~/.openclaw/openclaw.json và thêm nội dung sau:
{
"models": {
"mode": "merge",
"providers": {
"aisieure": {
"baseUrl": "https://aisieure.com/v1",
"apiKey": "key_your_api_key_here",
"api": "openai-completions",
"models": [
{
"id": "claude-sonnet-4.6",
"name": "Claude Sonnet 4"
},
{
"id": "claude-opus-4.6",
"name": "Claude Opus 4"
},
{
"id": "gpt-4.1",
"name": "GPT-4.1"
}
]
}
}
},
"agents": {
"defaults": {
"model": {
"primary": "aisieure/claude-sonnet-4.6"
}
}
}
}
Quan trọng:
Thay key_your_api_key_here bằng API key thực tế từ Dashboard → API Keys
baseUrl phải có hậu tố /v1
Cấu hình qua CLI
Bạn cũng có thể cấu hình OpenClaw trực tiếp từ dòng lệnh:
openclaw config set -- models.providers.aisieure.baseUrl "https://aisieure.com/v1"
openclaw config set -- models.providers.aisieure.api "openai-completions"
openclaw config set -- models.providers.aisieure.apiKey "key_your_api_key_here"
openclaw config set -- agents.defaults.model.primary "aisieure/claude-sonnet-4.6"
Nếu gặp lỗi, kiểm tra các mục sau:
baseUrl phải có hậu tố /v1 (ví dụ: https://aisieure.com/v1)
API key phải đang hoạt động — chưa bị thu hồi hoặc tạm ngưng (kiểm tra tại Dashboard → API Keys)
Model ID phải khớp chính xác với danh sách model trên AISieure
Chạy lệnh chẩn đoán để kiểm tra chi tiết:
openclaw doctor
Bình luận
Chưa có bình luận nào
Đăng nhập để bình luận