Spaces:
Paused
Paused
chore: default model → openai/gpt-oss-20b:free (OpenAI open-source)
Browse filesApache 2.0 licensed, 21B MoE (3.6B active), free on OpenRouter.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- openclaw.json +5 -5
- scripts/sync_hf.py +3 -3
openclaw.json
CHANGED
|
@@ -26,12 +26,12 @@
|
|
| 26 |
"api": "openai-completions",
|
| 27 |
"models": [
|
| 28 |
{
|
| 29 |
-
"id": "
|
| 30 |
-
"name": "
|
| 31 |
},
|
| 32 |
{
|
| 33 |
-
"id": "
|
| 34 |
-
"name": "
|
| 35 |
}
|
| 36 |
]
|
| 37 |
}
|
|
@@ -52,7 +52,7 @@
|
|
| 52 |
"defaults": {
|
| 53 |
"workspace": "~/.openclaw/workspace",
|
| 54 |
"model": {
|
| 55 |
-
"primary": "openrouter/
|
| 56 |
}
|
| 57 |
}
|
| 58 |
}
|
|
|
|
| 26 |
"api": "openai-completions",
|
| 27 |
"models": [
|
| 28 |
{
|
| 29 |
+
"id": "openai/gpt-oss-20b:free",
|
| 30 |
+
"name": "GPT-OSS-20B (Free)"
|
| 31 |
},
|
| 32 |
{
|
| 33 |
+
"id": "deepseek/deepseek-chat:free",
|
| 34 |
+
"name": "DeepSeek V3 (Free)"
|
| 35 |
}
|
| 36 |
]
|
| 37 |
}
|
|
|
|
| 52 |
"defaults": {
|
| 53 |
"workspace": "~/.openclaw/workspace",
|
| 54 |
"model": {
|
| 55 |
+
"primary": "openrouter/openai/gpt-oss-20b:free"
|
| 56 |
}
|
| 57 |
}
|
| 58 |
}
|
scripts/sync_hf.py
CHANGED
|
@@ -69,7 +69,7 @@ OPENCLAW_PASSWORD = os.environ.get("OPENCLAW_PASSWORD", "huggingclaw")
|
|
| 69 |
|
| 70 |
# Default model for new conversations (infer from provider if not set)
|
| 71 |
OPENCLAW_DEFAULT_MODEL = os.environ.get("OPENCLAW_DEFAULT_MODEL") or (
|
| 72 |
-
"openai/gpt-4o-mini" if OPENAI_API_KEY else "openrouter/
|
| 73 |
)
|
| 74 |
|
| 75 |
# HF Spaces built-in env vars (auto-set by HF runtime)
|
|
@@ -393,8 +393,8 @@ class OpenClawFullSync:
|
|
| 393 |
"apiKey": OPENROUTER_API_KEY,
|
| 394 |
"api": "openai-completions",
|
| 395 |
"models": [
|
| 396 |
-
{"id": "
|
| 397 |
-
{"id": "
|
| 398 |
]
|
| 399 |
}
|
| 400 |
print("[SYNC] Set OpenRouter provider")
|
|
|
|
| 69 |
|
| 70 |
# Default model for new conversations (infer from provider if not set)
|
| 71 |
OPENCLAW_DEFAULT_MODEL = os.environ.get("OPENCLAW_DEFAULT_MODEL") or (
|
| 72 |
+
"openai/gpt-4o-mini" if OPENAI_API_KEY else "openrouter/openai/gpt-oss-20b:free"
|
| 73 |
)
|
| 74 |
|
| 75 |
# HF Spaces built-in env vars (auto-set by HF runtime)
|
|
|
|
| 393 |
"apiKey": OPENROUTER_API_KEY,
|
| 394 |
"api": "openai-completions",
|
| 395 |
"models": [
|
| 396 |
+
{"id": "openai/gpt-oss-20b:free", "name": "GPT-OSS-20B (Free)"},
|
| 397 |
+
{"id": "deepseek/deepseek-chat:free", "name": "DeepSeek V3 (Free)"}
|
| 398 |
]
|
| 399 |
}
|
| 400 |
print("[SYNC] Set OpenRouter provider")
|