tao-shen Claude Opus 4.6 commited on
Commit
7b37cc0
Β·
1 Parent(s): 2965a3c

chore: replace gpt-4o-mini with gpt-5-nano everywhere

Browse files

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Files changed (3) hide show
  1. .env.example +2 -2
  2. README.md +1 -1
  3. scripts/sync_hf.py +1 -1
.env.example CHANGED
@@ -95,9 +95,9 @@ OPENROUTER_API_KEY=sk-or-v1-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
95
 
96
  # Default model for new conversations (must exist in your configured provider).
97
  #
98
- # [OPTIONAL] Examples: openai/gpt-4o-mini, openrouter/deepseek/deepseek-chat:free
99
  #
100
- # OPENCLAW_DEFAULT_MODEL=openai/gpt-4o-mini
101
 
102
 
103
  # ─── PERFORMANCE ──────────────────────────────────────────────────────────
 
95
 
96
  # Default model for new conversations (must exist in your configured provider).
97
  #
98
+ # [OPTIONAL] Examples: openai/gpt-5-nano, openrouter/deepseek/deepseek-chat:free
99
  #
100
+ # OPENCLAW_DEFAULT_MODEL=openai/gpt-5-nano
101
 
102
 
103
  # ─── PERFORMANCE ──────────────────────────────────────────────────────────
README.md CHANGED
@@ -85,7 +85,7 @@ Go to **Settings β†’ Repository secrets** and configure:
85
  | `OPENROUTER_API_KEY` | Optional | [OpenRouter](https://openrouter.ai) API key (200+ models, free tier) |
86
  | `ANTHROPIC_API_KEY` | Optional | Anthropic Claude API key |
87
  | `GOOGLE_API_KEY` | Optional | Google / Gemini API key |
88
- | `OPENCLAW_DEFAULT_MODEL` | Optional | Default model, e.g. `openrouter/openai/gpt-oss-20b:free` or `openai/gpt-4o-mini` |
89
 
90
  > For the full list of environment variables, see [`.env.example`](.env.example).
91
 
 
85
  | `OPENROUTER_API_KEY` | Optional | [OpenRouter](https://openrouter.ai) API key (200+ models, free tier) |
86
  | `ANTHROPIC_API_KEY` | Optional | Anthropic Claude API key |
87
  | `GOOGLE_API_KEY` | Optional | Google / Gemini API key |
88
+ | `OPENCLAW_DEFAULT_MODEL` | Optional | Default model, e.g. `openrouter/openai/gpt-oss-20b:free` or `openai/gpt-5-nano` |
89
 
90
  > For the full list of environment variables, see [`.env.example`](.env.example).
91
 
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/openai/gpt-oss-20b:free"
73
  )
74
 
75
  # HF Spaces built-in env vars (auto-set by HF runtime)
 
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-5-nano" 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)