mirror of
https://github.com/musistudio/claude-code-router.git
synced 2026-01-30 06:12:06 +00:00
Update README.md
This commit is contained in:
23
README.md
23
README.md
@@ -229,6 +229,29 @@ This will open a web-based interface where you can easily view and edit your `co
|
||||
|
||||

|
||||
|
||||
### 5. CLI Model Management
|
||||
|
||||
For users who prefer terminal-based workflows, you can use the interactive CLI model selector:
|
||||
|
||||
```shell
|
||||
ccr model
|
||||
```
|
||||
|
||||
This command provides an interactive interface to:
|
||||
|
||||
- View current configuration:
|
||||
- See all configured models (default, background, think, longContext, webSearch, image)
|
||||
- Switch models: Quickly change which model is used for each router type
|
||||
- Add new models: Add models to existing providers
|
||||
- Create new providers: Set up complete provider configurations including:
|
||||
-- Provider name and API endpoint
|
||||
-- API key
|
||||
-- Available models
|
||||
-- Transformer configuration with support for:
|
||||
--- Multiple transformers (openrouter, deepseek, gemini, etc.)
|
||||
--- Transformer options (e.g., maxtoken with custom limits)
|
||||
--- Provider-specific routing (e.g., OpenRouter provider preferences) The CLI tool validates all inputs and provides helpful prompts to guide you through the configuration process, making it easy to manage complex setups without editing JSON files manually.
|
||||
|
||||
#### Providers
|
||||
|
||||
The `Providers` array is where you define the different model providers you want to use. Each provider object requires:
|
||||
|
||||
Reference in New Issue
Block a user