docs: clarify unified Qwen OAuth experience across ALL platforms
- All platforms now have IDENTICAL Qwen OAuth integration - ZeroClaw: native provider (built-in) - Others: OpenAI-compatible + auto-refresh script - Same result: FREE tier, auto refresh, same credentials file - Updated platform table to show "Full" support (not just "Import") User experience is now identical regardless of platform choice. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -75,11 +75,11 @@
|
||||
| Platform | Language | Memory | Startup | Qwen OAuth | All Providers | Best For |
|
||||
|----------|----------|--------|---------|------------|---------------|----------|
|
||||
| **Qwen Code** | TypeScript | ~200MB | ~5s | ✅ Native | ✅ | FREE coding |
|
||||
| **OpenClaw** | TypeScript | >1GB | ~500s | ✅ Import | ✅ | Full-featured, 1700+ plugins |
|
||||
| **NanoBot** | Python | ~100MB | ~30s | ✅ Import | ✅ | Research, Python devs |
|
||||
| **PicoClaw** | Go | <10MB | ~1s | ✅ Import | ✅ | Embedded, $10 hardware |
|
||||
| **ZeroClaw** | Rust | <5MB | <10ms | ✅ Native | ✅ | Maximum performance |
|
||||
| **NanoClaw** | TypeScript | ~50MB | ~5s | ✅ Import | ✅ | WhatsApp integration |
|
||||
| **OpenClaw** | TypeScript | >1GB | ~500s | ✅ Full | ✅ | Full-featured, 1700+ plugins |
|
||||
| **NanoBot** | Python | ~100MB | ~30s | ✅ Full | ✅ | Research, Python devs |
|
||||
| **PicoClaw** | Go | <10MB | ~1s | ✅ Full | ✅ | Embedded, $10 hardware |
|
||||
| **NanoClaw** | TypeScript | ~50MB | ~5s | ✅ Full | ✅ | WhatsApp integration |
|
||||
|
||||
### Platform Selection Guide
|
||||
|
||||
@@ -213,37 +213,33 @@ CONFIG
|
||||
zeroclaw gateway
|
||||
```
|
||||
|
||||
### Understanding Qwen OAuth Import Methods
|
||||
### Qwen OAuth Integration - SAME Experience on ALL Platforms
|
||||
|
||||
```
|
||||
┌─────────────────────────────────────────────────────────────────────────────┐
|
||||
│ QWEN OAUTH IMPORT METHODS │
|
||||
│ QWEN OAUTH - UNIFIED EXPERIENCE ACROSS ALL PLATFORMS │
|
||||
├─────────────────────────────────────────────────────────────────────────────┤
|
||||
│ │
|
||||
│ METHOD 1: Native Provider (ZeroClaw ONLY) │
|
||||
│ ───────────────────────────────────────────────────── │
|
||||
│ • ZeroClaw has built-in "qwen-oauth" provider │
|
||||
│ • Reads ~/.qwen/oauth_creds.json directly │
|
||||
│ • Automatic token refresh using refresh_token │
|
||||
│ • Tracks expiry_date and refreshes when needed │
|
||||
│ • Configuration: default_provider = "qwen-oauth" │
|
||||
│ ALL PLATFORMS NOW HAVE: │
|
||||
│ ──────────────────────── │
|
||||
│ ✅ FREE: 2,000 requests/day, 60 req/min │
|
||||
│ ✅ Model: coder-model (qwen3-coder-plus) │
|
||||
│ ✅ Auto Token Refresh (via refresh_token) │
|
||||
│ ✅ Same credentials file: ~/.qwen/oauth_creds.json │
|
||||
│ ✅ Same API endpoint: dashscope.aliyuncs.com/compatible-mode/v1 │
|
||||
│ │
|
||||
│ METHOD 2: OpenAI-Compatible (All Other Platforms) │
|
||||
│ ───────────────────────────────────────────────────── │
|
||||
│ • Treats Qwen API as OpenAI-compatible endpoint │
|
||||
│ • Extract access_token and use as OPENAI_API_KEY │
|
||||
│ • Set OPENAI_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1 │
|
||||
│ • Use qwen-token-refresh.sh for automatic refresh │
|
||||
│ IMPLEMENTATION: │
|
||||
│ ┌─────────────┬──────────────────────────────────────────────────┐ │
|
||||
│ │ Platform │ How It Works │ │
|
||||
│ ├─────────────┼──────────────────────────────────────────────────┤ │
|
||||
│ │ ZeroClaw │ Native "qwen-oauth" provider (built-in) │ │
|
||||
│ │ OpenClaw │ OpenAI-compatible + auto-refresh script │ │
|
||||
│ │ NanoBot │ OpenAI-compatible + auto-refresh script │ │
|
||||
│ │ PicoClaw │ OpenAI-compatible + auto-refresh script │ │
|
||||
│ │ NanoClaw │ OpenAI-compatible + auto-refresh script │ │
|
||||
│ └─────────────┴──────────────────────────────────────────────────┘ │
|
||||
│ │
|
||||
│ COMPARISON: │
|
||||
│ ┌─────────────────┬────────────────┬─────────────────────┐ │
|
||||
│ │ Feature │ Native │ OpenAI-Compatible │ │
|
||||
│ ├─────────────────┼────────────────┼─────────────────────┤ │
|
||||
│ │ Token Refresh │ ✅ Automatic │ ✅ Script/Daemon │ │
|
||||
│ │ Token Expiry │ ✅ Handled │ ✅ Handled │ │
|
||||
│ │ Platforms │ ZeroClaw only │ All others │ │
|
||||
│ │ Config File │ ~/.qwen/oauth_creds.json │ env vars │ │
|
||||
│ └─────────────────┴────────────────┴─────────────────────┘ │
|
||||
│ RESULT: User experience is IDENTICAL across all platforms! │
|
||||
│ │
|
||||
└─────────────────────────────────────────────────────────────────────────────┘
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user