Skip to content

Commit 2546865

Browse files
committed
docs: readme
1 parent ee88065 commit 2546865

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export CCO_API_KEY="your-api-key-here"
150150
cco start # or claude-code-open start
151151

152152
# The API key will be used for whichever provider your model requests
153-
# e.g., if you use "openrouter,anthropic/claude-3.5-sonnet" -> key goes to OpenRouter
153+
# e.g., if you use "openrouter,anthropic/claude-sonnet-4" -> key goes to OpenRouter
154154
# e.g., if you use "openai,gpt-4o" -> key goes to OpenAI
155155
```
156156

@@ -365,11 +365,11 @@ providers:
365365

366366
# Router configuration for different use cases
367367
router:
368-
default: openrouter/anthropic/claude-3.5-sonnet
369-
think: openai/o1-preview
370-
long_context: anthropic/claude-3-5-sonnet-20241022
371-
background: anthropic/claude-3-haiku-20240307
372-
web_search: openrouter/perplexity/llama-3.1-sonar-huge-128k-online
368+
default: openrouter,anthropic/claude-sonnet-4
369+
think: openai,o1-preview
370+
long_context: anthropic,claude-sonnet-4
371+
background: anthropic,claude-3-haiku-20240307
372+
web_search: openrouter,perplexity/llama-3.1-sonar-huge-128k-online
373373
```
374374
375375
### 📜 Legacy JSON Format
@@ -391,16 +391,16 @@ The router still supports JSON configuration for backward compatibility:
391391
"name": "openrouter",
392392
"api_base_url": "https://openrouter.ai/api/v1/chat/completions",
393393
"api_key": "your-provider-api-key",
394-
"models": ["anthropic/claude-3.5-sonnet"],
394+
"models": ["anthropic/claude-sonnet-4"],
395395
"model_whitelist": ["claude", "gpt-4"],
396-
"default_models": ["anthropic/claude-3.5-sonnet"]
396+
"default_models": ["anthropic/claude-sonnet-4"]
397397
}
398398
],
399399
"Router": {
400-
"default": "openrouter,anthropic/claude-3.5-sonnet",
401-
"think": "openrouter,anthropic/claude-3.5-sonnet",
402-
"longContext": "openrouter,anthropic/claude-3.5-sonnet-20241022",
403-
"background": "openrouter,anthropic/claude-3.5-haiku",
400+
"default": "openrouter,anthropic/claude-sonnet-4",
401+
"think": "openrouter,anthropic/claude-sonnet-4",
402+
"longContext": "openrouter,anthropic/claude-sonnet-4",
403+
"background": "openrouter,anthropic/claude-3-5-haiku",
404404
"webSearch": "openrouter,perplexity/llama-3.1-sonar-large-128k-online"
405405
}
406406
}
@@ -448,7 +448,7 @@ The router still supports JSON configuration for backward compatibility:
448448
</tr>
449449
</table>
450450

451-
> **Format**: `provider_name/model_name` (e.g., `openai/gpt-4o`, `anthropic/claude-3-5-sonnet`)
451+
> **Format**: `provider_name,model_name` (e.g., `openai,gpt-4o`, `anthropic,claude-sonnet-4`)
452452
453453
## 💻 Commands
454454

0 commit comments

Comments
 (0)