Skip to main content

ccr model

Interactive model selection and configuration.

Usage​

ccr model [command]

Commands​

Select Model​

Interactively select a model:

ccr model

This will display an interactive menu with available providers and models. You can assign the selection to Router.default or other scenario keys (background, think, longContext, webSearch, fim, image).

Set Default Model​

Set the default model directly:

ccr model set <provider>,<model>

Example:

ccr model set deepseek,deepseek-chat

List Models​

List all configured models:

ccr model list

Add Model​

Add a new model to configuration:

ccr model add <provider>,<model>

Example:

ccr model add groq,llama-3.3-70b-versatile

Remove Model​

Remove a model from configuration:

ccr model remove <provider>,<model>

Examples​

Interactive selection​

$ ccr model

? Select a provider: deepseek
? Select a model: deepseek-chat

Default model set to: deepseek,deepseek-chat

Direct configuration​

ccr model set deepseek,deepseek-chat

View current configuration​

ccr model list

Output:

Configured Models:
deepseek,deepseek-chat (default)
groq,llama-3.3-70b-versatile
gemini,gemini-1.5-pro