Spaces:
Sleeping
Sleeping
Somrat Sorkar commited on
Commit ·
21a7032
1
Parent(s): abf5aa0
Fix Anthropic model names: use OpenClaw format (hyphens) not OpenRouter format (dots)
Browse files- .env.example +5 -5
- README.md +3 -3
.env.example
CHANGED
|
@@ -18,10 +18,10 @@ LLM_API_KEY=your_api_key_here
|
|
| 18 |
# ── Top-Tier Providers ──
|
| 19 |
#
|
| 20 |
# Anthropic Claude:
|
| 21 |
-
# - anthropic/claude-opus-4
|
| 22 |
-
# - anthropic/claude-sonnet-4
|
| 23 |
-
# - anthropic/claude-sonnet-4
|
| 24 |
-
# - anthropic/claude-haiku-4
|
| 25 |
#
|
| 26 |
# OpenAI:
|
| 27 |
# - openai/gpt-5.4-pro (1M context)
|
|
@@ -137,7 +137,7 @@ LLM_API_KEY=your_api_key_here
|
|
| 137 |
# See https://openrouter.ai/models for complete list
|
| 138 |
#
|
| 139 |
# Or any other provider — format: provider/model-name (auto-detected)
|
| 140 |
-
LLM_MODEL=anthropic/claude-sonnet-4
|
| 141 |
|
| 142 |
# [REQUIRED] Gateway authentication token
|
| 143 |
# Generate: openssl rand -hex 32
|
|
|
|
| 18 |
# ── Top-Tier Providers ──
|
| 19 |
#
|
| 20 |
# Anthropic Claude:
|
| 21 |
+
# - anthropic/claude-opus-4-6
|
| 22 |
+
# - anthropic/claude-sonnet-4-6
|
| 23 |
+
# - anthropic/claude-sonnet-4-5
|
| 24 |
+
# - anthropic/claude-haiku-4-5
|
| 25 |
#
|
| 26 |
# OpenAI:
|
| 27 |
# - openai/gpt-5.4-pro (1M context)
|
|
|
|
| 137 |
# See https://openrouter.ai/models for complete list
|
| 138 |
#
|
| 139 |
# Or any other provider — format: provider/model-name (auto-detected)
|
| 140 |
+
LLM_MODEL=anthropic/claude-sonnet-4-5
|
| 141 |
|
| 142 |
# [REQUIRED] Gateway authentication token
|
| 143 |
# Generate: openssl rand -hex 32
|
README.md
CHANGED
|
@@ -123,9 +123,9 @@ Just set `LLM_MODEL` with the correct provider prefix — **any provider is supp
|
|
| 123 |
### Anthropic (Claude)
|
| 124 |
```
|
| 125 |
LLM_API_KEY=sk-ant-v0-...
|
| 126 |
-
LLM_MODEL=anthropic/claude-sonnet-4
|
| 127 |
```
|
| 128 |
-
Models: `anthropic/claude-opus-4
|
| 129 |
|
| 130 |
### OpenAI
|
| 131 |
```
|
|
@@ -272,7 +272,7 @@ LLM_MODEL=openrouter/auto
|
|
| 272 |
```
|
| 273 |
With OpenRouter, you can access **every model above** with a single API key! Just prefix with `openrouter/`:
|
| 274 |
- `openrouter/openai/gpt-5.4-pro`
|
| 275 |
-
- `openrouter/anthropic/claude-opus-4
|
| 276 |
- `openrouter/deepseek/deepseek-v3.2`
|
| 277 |
- `openrouter/qwen/qwen3.6-plus-preview:free`
|
| 278 |
|
|
|
|
| 123 |
### Anthropic (Claude)
|
| 124 |
```
|
| 125 |
LLM_API_KEY=sk-ant-v0-...
|
| 126 |
+
LLM_MODEL=anthropic/claude-sonnet-4-5
|
| 127 |
```
|
| 128 |
+
Models: `anthropic/claude-opus-4-6` · `anthropic/claude-sonnet-4-6` · `anthropic/claude-sonnet-4-5` · `anthropic/claude-haiku-4-5`
|
| 129 |
|
| 130 |
### OpenAI
|
| 131 |
```
|
|
|
|
| 272 |
```
|
| 273 |
With OpenRouter, you can access **every model above** with a single API key! Just prefix with `openrouter/`:
|
| 274 |
- `openrouter/openai/gpt-5.4-pro`
|
| 275 |
+
- `openrouter/anthropic/claude-opus-4-6`
|
| 276 |
- `openrouter/deepseek/deepseek-v3.2`
|
| 277 |
- `openrouter/qwen/qwen3.6-plus-preview:free`
|
| 278 |
|