docs/user-manual/en/2-providers/2.3-edit.md
| Field | Description |
|---|---|
| Name | Provider display name |
| Notes | Additional notes |
| Website Link | Provider website or console URL |
| Icon | Custom icon and color |
CC Switch provides rich icon customization features:
The icon library includes common AI service provider and technology icons, supporting:
JSON-formatted configuration content, including:
When editing the currently active provider, a special "backfill" mechanism applies:
This ensures CC Switch and CLI tool configurations stay in sync.
When editing a provider, you can auto-fetch the available model list from the provider's endpoint:
See 2.1 Add Provider — Auto-Fetch Models for full details.
When editing a Claude provider, quick toggle switches are available above the JSON editor for common settings like Tool Search, Disable Auto Upgrade, Teammates, and High Effort. See 2.1 Add Provider — Claude Common Config Toggles for details.
When editing a provider, you can modify the key directly in the API Key input field:
Tip: The API Key input field supports a show/hide toggle. Click the eye icon on the right to view the full key.
When editing a provider, you can modify the URL directly in the Endpoint URL input field:
| Application | Format Example |
|---|---|
| Claude | https://api.example.com |
| Codex | https://api.example.com/v1 |
| Gemini | https://api.example.com |
Providers can be configured with multiple endpoints for:
When adding a provider, CC Switch automatically extracts endpoint URLs from the configuration.
When editing a provider, in the "Endpoint Management" area you can:
Configuration uses JSON format, and the editor provides:
Missing quotes:
// Wrong
{ env: { KEY: "value" } }
// Correct
{ "env": { "KEY": "value" } }
Trailing comma:
// Wrong
{ "env": { "KEY": "value", } }
// Correct
{ "env": { "KEY": "value" } }
Unclosed brackets:
// Wrong
{ "env": { "KEY": "value" }
// Correct
{ "env": { "KEY": "value" } }
Click "Cancel" or press the Esc key to close the edit panel. All modifications will be discarded.