cc-provider-switcher 0.2.2 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +43 -28
- package/dist/cli.js +52 -42
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -49,7 +49,7 @@ npm install -g cc-provider-switcher@latest
|
|
|
49
49
|
|
|
50
50
|
ccs sets `ANTHROPIC_DEFAULT_*_MODEL_SUPPORTED_CAPABILITIES` so Claude Code knows which thinking features a provider supports. No extra steps needed after switching.
|
|
51
51
|
|
|
52
|
-
**Providers with effort control** (DeepSeek, GLM, Qwen, Kimi, StepFun):
|
|
52
|
+
**Providers with effort control** (DeepSeek, MiniMax, GLM, Qwen, Kimi, StepFun):
|
|
53
53
|
|
|
54
54
|
```sh
|
|
55
55
|
ccs deepseek
|
|
@@ -59,15 +59,7 @@ ccs deepseek
|
|
|
59
59
|
|
|
60
60
|
```sh
|
|
61
61
|
ccs glm
|
|
62
|
-
# Same, plus max_effort tier available
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
**MiniMax — adaptive thinking:**
|
|
66
|
-
|
|
67
|
-
```sh
|
|
68
|
-
ccs minimax
|
|
69
|
-
# MiniMax decides when to think based on task complexity — nothing to configure
|
|
70
|
-
# Note shown: "Only adaptive/disabled thinking (enabled returns 400)"
|
|
62
|
+
# Same, plus max_effort tier available (also on MiniMax)
|
|
71
63
|
```
|
|
72
64
|
|
|
73
65
|
**Seed/Doubao — thinking on/off only:**
|
|
@@ -85,10 +77,11 @@ ccs seed
|
|
|
85
77
|
|---------|-------------|
|
|
86
78
|
| `ccs <provider> [region]` | Switch Claude Code to a provider (user-level) |
|
|
87
79
|
| `ccs project <provider> [region]` | Switch for current project only |
|
|
80
|
+
| `ccs <provider> --model <id>` | Use one model ID for sonnet/opus/haiku (also works with `project`) |
|
|
88
81
|
| `ccs list` | List all available providers |
|
|
89
82
|
| `ccs status` | Show current provider, model, and API key |
|
|
90
83
|
| `ccs config` | Interactive API key setup |
|
|
91
|
-
| `ccs reset` | Remove ccs-managed settings |
|
|
84
|
+
| `ccs reset` | Remove ccs-managed settings and return to Claude Code's native default |
|
|
92
85
|
| `ccs reset --project` | Reset project-level settings |
|
|
93
86
|
| `ccs reset --all` | Reset both user and project settings |
|
|
94
87
|
| `ccs doctor` | Diagnose environment issues |
|
|
@@ -104,20 +97,20 @@ ccs seed
|
|
|
104
97
|
| Name | Key | Aliases | Thinking | Regions |
|
|
105
98
|
|------|-----|---------|----------|---------|
|
|
106
99
|
| DeepSeek | `deepseek` | `ds` | effort | global |
|
|
107
|
-
| MiniMax | `minimax` | `mm` |
|
|
100
|
+
| MiniMax | `minimax` | `mm` | effort | global, china |
|
|
108
101
|
| Kimi | `kimi` | `kimi2` | effort | global, china |
|
|
109
102
|
| Qwen | `qwen` | — | effort | global, china |
|
|
110
103
|
| GLM | `glm` | `glm5` | effort | global, china |
|
|
111
104
|
| Seed/Doubao | `seed` | `doubao` | on/off | global |
|
|
112
105
|
| StepFun | `stepfun` | `sf` | effort | global |
|
|
113
106
|
| OpenRouter | `openrouter` | `or` | passthrough | global |
|
|
114
|
-
|
|
|
107
|
+
| LM Studio | `lmstudio` | `lms` | — | local |
|
|
108
|
+
|
|
109
|
+
Claude (Anthropic) isn't a switchable provider — it's Claude Code's own native default. Run `ccs reset` to return to it.
|
|
115
110
|
|
|
116
111
|
**Thinking column:**
|
|
117
112
|
- `effort` — reasoning_effort levels (low/medium/high)
|
|
118
|
-
- `adaptive` — adaptive thinking only (`enabled` causes 400 on this provider)
|
|
119
113
|
- `on/off` — thinking enabled/disabled, no effort control
|
|
120
|
-
- `native` — Claude Code's built-in detection applies
|
|
121
114
|
- `passthrough` — depends on the model routed through OpenRouter
|
|
122
115
|
|
|
123
116
|
### Model mapping
|
|
@@ -126,15 +119,15 @@ When Claude Code picks haiku/sonnet/opus, ccs maps them to the actual model IDs
|
|
|
126
119
|
|
|
127
120
|
| Provider | Haiku | Sonnet | Opus |
|
|
128
121
|
|----------|-------|--------|------|
|
|
129
|
-
| DeepSeek | `deepseek-
|
|
130
|
-
| MiniMax | `MiniMax-M3` | `MiniMax-M3` | `MiniMax-M3` |
|
|
131
|
-
| Kimi | `kimi-
|
|
132
|
-
| Qwen | `qwen3.7-plus` | `qwen3.7-plus` | `qwen3.7-
|
|
133
|
-
| GLM | `glm-5.
|
|
122
|
+
| DeepSeek | `deepseek-flash` | `deepseek-flash` | `deepseek-flash` |
|
|
123
|
+
| MiniMax | `MiniMax-M3.1-Flash` | `MiniMax-M3.1-Flash` | `MiniMax-M3.1-Flash` |
|
|
124
|
+
| Kimi | `kimi-k3.1-pro-highspeed` | `kimi-k3.1-pro` | `kimi-k3.1-pro` |
|
|
125
|
+
| Qwen | `qwen3.7-plus` | `qwen3.7-plus` | `qwen3.7-plus` |
|
|
126
|
+
| GLM | `glm-5.3-flash` | `glm-5.3` | `glm-5.3` |
|
|
134
127
|
| Seed/Doubao | `ark-code-latest` | `ark-code-latest` | `ark-code-latest` |
|
|
135
128
|
| StepFun | `step-3.7-flash` | `step-3.7-flash` | `step-3.7-flash` |
|
|
136
|
-
| OpenRouter | `anthropic/claude-haiku-
|
|
137
|
-
|
|
|
129
|
+
| OpenRouter | `anthropic/claude-haiku-5.5` | `anthropic/claude-sonnet-5.5` | `anthropic/claude-opus-5.5` |
|
|
130
|
+
| LM Studio | `qwen/qwen3.8-27b` | `qwen/qwen3.8-27b` | `qwen/qwen3.8-27b` |
|
|
138
131
|
|
|
139
132
|
Override any ID via `providerOverrides` in `~/.ccs/config.json` — see [Override model IDs](#override-model-ids).
|
|
140
133
|
|
|
@@ -180,6 +173,29 @@ Update model IDs without waiting for a release:
|
|
|
180
173
|
}
|
|
181
174
|
```
|
|
182
175
|
|
|
176
|
+
### LM Studio
|
|
177
|
+
|
|
178
|
+
`ccs lmstudio` (alias `lms`) points Claude Code at `http://127.0.0.1:1234`. Start the LM Studio server first. No API key needed. To use another model, pass it with `--model`:
|
|
179
|
+
|
|
180
|
+
```bash
|
|
181
|
+
ccs lmstudio --model my/model-id
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
To make it permanent, override all four model fields (overrides replace `models` as a whole):
|
|
185
|
+
|
|
186
|
+
```json
|
|
187
|
+
{
|
|
188
|
+
"providerOverrides": {
|
|
189
|
+
"lmstudio": {
|
|
190
|
+
"defaultModel": "my/model-id",
|
|
191
|
+
"models": { "sonnet": "my/model-id", "opus": "my/model-id", "haiku": "my/model-id" }
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
Use the "API Model Identifier" shown in LM Studio. Set the context length to 32k or more.
|
|
198
|
+
|
|
183
199
|
### What ccs writes
|
|
184
200
|
|
|
185
201
|
ccs modifies only the `env` block in Claude Code settings. It never touches other fields (permissions, hooks, etc.).
|
|
@@ -192,11 +208,11 @@ ccs modifies only the `env` block in Claude Code settings. It never touches othe
|
|
|
192
208
|
"env": {
|
|
193
209
|
"ANTHROPIC_BASE_URL": "https://api.deepseek.com/anthropic",
|
|
194
210
|
"ANTHROPIC_AUTH_TOKEN": "sk-...",
|
|
195
|
-
"ANTHROPIC_MODEL": "deepseek-
|
|
196
|
-
"ANTHROPIC_DEFAULT_SONNET_MODEL": "deepseek-
|
|
197
|
-
"ANTHROPIC_DEFAULT_OPUS_MODEL": "deepseek-
|
|
198
|
-
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "deepseek-
|
|
199
|
-
"CLAUDE_CODE_SUBAGENT_MODEL": "deepseek-
|
|
211
|
+
"ANTHROPIC_MODEL": "deepseek-flash",
|
|
212
|
+
"ANTHROPIC_DEFAULT_SONNET_MODEL": "deepseek-flash",
|
|
213
|
+
"ANTHROPIC_DEFAULT_OPUS_MODEL": "deepseek-flash",
|
|
214
|
+
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "deepseek-flash",
|
|
215
|
+
"CLAUDE_CODE_SUBAGENT_MODEL": "deepseek-flash",
|
|
200
216
|
"ANTHROPIC_DEFAULT_SONNET_MODEL_SUPPORTED_CAPABILITIES": "effort,thinking",
|
|
201
217
|
"ANTHROPIC_DEFAULT_OPUS_MODEL_SUPPORTED_CAPABILITIES": "effort,thinking",
|
|
202
218
|
"ANTHROPIC_DEFAULT_HAIKU_MODEL_SUPPORTED_CAPABILITIES": "effort,thinking"
|
|
@@ -250,7 +266,6 @@ Add an entry to `src/providers/providers.json` and submit a PR:
|
|
|
250
266
|
- `supportedCapabilities` — Claude Code capability strings to declare (`effort`, `thinking`, `adaptive_thinking`, `max_effort`). Sets `ANTHROPIC_DEFAULT_*_MODEL_SUPPORTED_CAPABILITIES` env vars so Claude Code enables effort/thinking controls.
|
|
251
267
|
- `thinkingNote` — shown as an info line after switching, to warn about provider-specific limits.
|
|
252
268
|
- `regions` — map of region name → base URL.
|
|
253
|
-
- `optional` — if `true`, missing API key is not a fatal error (used for Claude native).
|
|
254
269
|
|
|
255
270
|
---
|
|
256
271
|
|
package/dist/cli.js
CHANGED
|
@@ -12,13 +12,13 @@ var ProviderSchema = z.object({
|
|
|
12
12
|
defaultModel: z.string(),
|
|
13
13
|
aliases: z.array(z.string()),
|
|
14
14
|
keyEnvVar: z.string(),
|
|
15
|
+
keyOptional: z.boolean().optional(),
|
|
15
16
|
models: z.object({
|
|
16
17
|
sonnet: z.string(),
|
|
17
18
|
opus: z.string(),
|
|
18
19
|
haiku: z.string()
|
|
19
20
|
}),
|
|
20
21
|
regions: z.record(z.string(), z.string()).optional(),
|
|
21
|
-
optional: z.boolean().optional(),
|
|
22
22
|
supportedCapabilities: z.array(z.string()).optional(),
|
|
23
23
|
thinkingNote: z.string().optional()
|
|
24
24
|
});
|
|
@@ -43,57 +43,44 @@ var providers_default = {
|
|
|
43
43
|
deepseek: {
|
|
44
44
|
name: "DeepSeek",
|
|
45
45
|
baseUrl: "https://api.deepseek.com/anthropic",
|
|
46
|
-
defaultModel: "deepseek-
|
|
46
|
+
defaultModel: "deepseek-flash",
|
|
47
47
|
aliases: ["ds"],
|
|
48
48
|
keyEnvVar: "DEEPSEEK_API_KEY",
|
|
49
|
-
models: { sonnet: "deepseek-
|
|
49
|
+
models: { sonnet: "deepseek-flash", opus: "deepseek-flash", haiku: "deepseek-flash" },
|
|
50
50
|
supportedCapabilities: ["effort", "thinking"],
|
|
51
51
|
thinkingNote: "budget_tokens ignored, uses reasoning_effort internally"
|
|
52
52
|
},
|
|
53
53
|
minimax: {
|
|
54
54
|
name: "MiniMax",
|
|
55
55
|
baseUrl: "https://api.minimax.io/anthropic",
|
|
56
|
-
defaultModel: "MiniMax-M3",
|
|
56
|
+
defaultModel: "MiniMax-M3.1-Flash",
|
|
57
57
|
aliases: ["mm"],
|
|
58
58
|
keyEnvVar: "MINIMAX_API_KEY",
|
|
59
59
|
regions: {
|
|
60
60
|
global: "https://api.minimax.io/anthropic",
|
|
61
61
|
china: "https://api.minimaxi.com/anthropic"
|
|
62
62
|
},
|
|
63
|
-
models: { sonnet: "MiniMax-M3", opus: "MiniMax-M3", haiku: "MiniMax-M3" },
|
|
64
|
-
supportedCapabilities: ["
|
|
65
|
-
thinkingNote: "
|
|
66
|
-
},
|
|
67
|
-
claude: {
|
|
68
|
-
name: "Claude (Anthropic)",
|
|
69
|
-
baseUrl: "https://api.anthropic.com/",
|
|
70
|
-
defaultModel: "claude-sonnet-4-6",
|
|
71
|
-
aliases: ["anthropic", "sonnet"],
|
|
72
|
-
keyEnvVar: "CLAUDE_API_KEY",
|
|
73
|
-
optional: true,
|
|
74
|
-
models: {
|
|
75
|
-
sonnet: "claude-sonnet-4-6",
|
|
76
|
-
opus: "claude-opus-4-8",
|
|
77
|
-
haiku: "claude-haiku-4-5-20251001"
|
|
78
|
-
}
|
|
63
|
+
models: { sonnet: "MiniMax-M3.1-Flash", opus: "MiniMax-M3.1-Flash", haiku: "MiniMax-M3.1-Flash" },
|
|
64
|
+
supportedCapabilities: ["effort", "max_effort", "thinking"],
|
|
65
|
+
thinkingNote: "Always thinks (disabled returns 400). Effort: low/medium/high/xhigh/max"
|
|
79
66
|
},
|
|
80
67
|
kimi: {
|
|
81
68
|
name: "Kimi",
|
|
82
69
|
baseUrl: "https://api.moonshot.ai/anthropic",
|
|
83
|
-
defaultModel: "kimi-
|
|
70
|
+
defaultModel: "kimi-k3.1-pro",
|
|
84
71
|
aliases: ["kimi2"],
|
|
85
72
|
keyEnvVar: "KIMI_API_KEY",
|
|
86
73
|
regions: {
|
|
87
74
|
global: "https://api.moonshot.ai/anthropic",
|
|
88
75
|
china: "https://api.moonshot.cn/anthropic"
|
|
89
76
|
},
|
|
90
|
-
models: { sonnet: "kimi-
|
|
77
|
+
models: { sonnet: "kimi-k3.1-pro", opus: "kimi-k3.1-pro", haiku: "kimi-k3.1-pro-highspeed" },
|
|
91
78
|
supportedCapabilities: ["effort", "thinking"]
|
|
92
79
|
},
|
|
93
80
|
qwen: {
|
|
94
81
|
name: "Qwen",
|
|
95
82
|
baseUrl: "https://coding-intl.dashscope.aliyuncs.com/apps/anthropic",
|
|
96
|
-
defaultModel: "qwen3.7-
|
|
83
|
+
defaultModel: "qwen3.7-plus",
|
|
97
84
|
aliases: [],
|
|
98
85
|
keyEnvVar: "QWEN_API_KEY",
|
|
99
86
|
regions: {
|
|
@@ -102,7 +89,7 @@ var providers_default = {
|
|
|
102
89
|
},
|
|
103
90
|
models: {
|
|
104
91
|
sonnet: "qwen3.7-plus",
|
|
105
|
-
opus: "qwen3.7-
|
|
92
|
+
opus: "qwen3.7-plus",
|
|
106
93
|
haiku: "qwen3.7-plus"
|
|
107
94
|
},
|
|
108
95
|
supportedCapabilities: ["effort", "thinking"],
|
|
@@ -111,16 +98,16 @@ var providers_default = {
|
|
|
111
98
|
glm: {
|
|
112
99
|
name: "GLM",
|
|
113
100
|
baseUrl: "https://api.z.ai/api/anthropic",
|
|
114
|
-
defaultModel: "glm-5.
|
|
101
|
+
defaultModel: "glm-5.3",
|
|
115
102
|
aliases: ["glm5"],
|
|
116
103
|
keyEnvVar: "GLM_API_KEY",
|
|
117
104
|
regions: {
|
|
118
105
|
global: "https://api.z.ai/api/anthropic",
|
|
119
106
|
china: "https://open.bigmodel.cn/api/anthropic"
|
|
120
107
|
},
|
|
121
|
-
models: { sonnet: "glm-5.
|
|
108
|
+
models: { sonnet: "glm-5.3", opus: "glm-5.3", haiku: "glm-5.3-flash" },
|
|
122
109
|
supportedCapabilities: ["effort", "max_effort", "thinking"],
|
|
123
|
-
thinkingNote: "
|
|
110
|
+
thinkingNote: "Always reasons (disabled fails). Effort: low/high/max"
|
|
124
111
|
},
|
|
125
112
|
seed: {
|
|
126
113
|
name: "Seed/Doubao",
|
|
@@ -138,7 +125,7 @@ var providers_default = {
|
|
|
138
125
|
},
|
|
139
126
|
stepfun: {
|
|
140
127
|
name: "StepFun",
|
|
141
|
-
baseUrl: "https://api.stepfun.ai
|
|
128
|
+
baseUrl: "https://api.stepfun.ai",
|
|
142
129
|
defaultModel: "step-3.7-flash",
|
|
143
130
|
aliases: ["sf"],
|
|
144
131
|
keyEnvVar: "STEPFUN_API_KEY",
|
|
@@ -153,14 +140,28 @@ var providers_default = {
|
|
|
153
140
|
openrouter: {
|
|
154
141
|
name: "OpenRouter",
|
|
155
142
|
baseUrl: "https://openrouter.ai/api",
|
|
156
|
-
defaultModel: "anthropic/claude-sonnet-
|
|
143
|
+
defaultModel: "anthropic/claude-sonnet-5.5",
|
|
157
144
|
aliases: ["or"],
|
|
158
145
|
keyEnvVar: "OPENROUTER_API_KEY",
|
|
159
146
|
models: {
|
|
160
|
-
sonnet: "anthropic/claude-sonnet-
|
|
161
|
-
opus: "anthropic/claude-opus-
|
|
162
|
-
haiku: "anthropic/claude-haiku-
|
|
147
|
+
sonnet: "anthropic/claude-sonnet-5.5",
|
|
148
|
+
opus: "anthropic/claude-opus-5.5",
|
|
149
|
+
haiku: "anthropic/claude-haiku-5.5"
|
|
163
150
|
}
|
|
151
|
+
},
|
|
152
|
+
lmstudio: {
|
|
153
|
+
name: "LM Studio",
|
|
154
|
+
baseUrl: "http://127.0.0.1:1234",
|
|
155
|
+
defaultModel: "qwen/qwen3.8-27b",
|
|
156
|
+
aliases: ["lms"],
|
|
157
|
+
keyEnvVar: "LMSTUDIO_API_KEY",
|
|
158
|
+
keyOptional: true,
|
|
159
|
+
models: {
|
|
160
|
+
sonnet: "qwen/qwen3.8-27b",
|
|
161
|
+
opus: "qwen/qwen3.8-27b",
|
|
162
|
+
haiku: "qwen/qwen3.8-27b"
|
|
163
|
+
},
|
|
164
|
+
thinkingNote: "Local model. Use --model <id> to pick another one"
|
|
164
165
|
}
|
|
165
166
|
}
|
|
166
167
|
};
|
|
@@ -199,6 +200,9 @@ function getApiKey(provider, userConfig) {
|
|
|
199
200
|
if (envVal) return envVal;
|
|
200
201
|
return userConfig?.keys?.[provider.registryKey] ?? null;
|
|
201
202
|
}
|
|
203
|
+
function withModel(provider, model) {
|
|
204
|
+
return { ...provider, defaultModel: model, models: { sonnet: model, opus: model, haiku: model } };
|
|
205
|
+
}
|
|
202
206
|
|
|
203
207
|
// src/config/user-config.ts
|
|
204
208
|
import readline from "readline";
|
|
@@ -268,7 +272,6 @@ async function initConfig(configPath = CCS_CONFIG_FILE) {
|
|
|
268
272
|
const question = (prompt) => new Promise((resolve) => rl.question(prompt, resolve));
|
|
269
273
|
console.log("Configure API keys for each provider (leave blank to skip):\n");
|
|
270
274
|
for (const [key, provider] of Object.entries(registry.providers)) {
|
|
271
|
-
if (provider.optional) continue;
|
|
272
275
|
const existing = current.keys[key] ? ` [${maskKey(current.keys[key])}]` : "";
|
|
273
276
|
const answer = await question(`${provider.name}${existing}: `);
|
|
274
277
|
if (answer.trim()) current.keys[key] = answer.trim();
|
|
@@ -378,12 +381,19 @@ function table(rows) {
|
|
|
378
381
|
}
|
|
379
382
|
|
|
380
383
|
// src/commands/switch.ts
|
|
381
|
-
|
|
384
|
+
var CLAUDE_NATIVE_NAMES = /* @__PURE__ */ new Set(["claude", "anthropic", "sonnet"]);
|
|
385
|
+
async function doSwitch(providerName, region, scope, model) {
|
|
386
|
+
if (CLAUDE_NATIVE_NAMES.has(providerName.toLowerCase())) {
|
|
387
|
+
info("Claude is Claude Code's native default \u2014 there is nothing to switch to.");
|
|
388
|
+
info('Run "ccs reset" to clear provider overrides and return to it.');
|
|
389
|
+
return;
|
|
390
|
+
}
|
|
382
391
|
const userConfig = await loadUserConfig();
|
|
383
|
-
const
|
|
392
|
+
const resolved = resolveProvider(providerName, userConfig);
|
|
393
|
+
const provider = model ? withModel(resolved, model) : resolved;
|
|
384
394
|
const baseUrl = resolveBaseUrl(provider, region);
|
|
385
|
-
const apiKey = getApiKey(provider, userConfig);
|
|
386
|
-
if (!apiKey
|
|
395
|
+
const apiKey = getApiKey(provider, userConfig) ?? (provider.keyOptional ? provider.registryKey : null);
|
|
396
|
+
if (!apiKey) {
|
|
387
397
|
error(
|
|
388
398
|
`No API key for ${provider.name}. Set ${provider.keyEnvVar} or run "ccs config".`
|
|
389
399
|
);
|
|
@@ -415,11 +425,11 @@ async function doSwitch(providerName, region, scope) {
|
|
|
415
425
|
if (provider.thinkingNote) info(`Thinking: ${provider.thinkingNote}`);
|
|
416
426
|
}
|
|
417
427
|
function registerSwitchCommand(program2) {
|
|
418
|
-
program2.argument("<provider>", "Provider name or alias").argument("[region]", "Optional region (global, china, etc.)").action(async (provider, region) => {
|
|
419
|
-
await doSwitch(provider, region, "user");
|
|
428
|
+
program2.argument("<provider>", "Provider name or alias").argument("[region]", "Optional region (global, china, etc.)").option("-m, --model <id>", "Use this model ID for all of sonnet/opus/haiku").action(async (provider, region, opts) => {
|
|
429
|
+
await doSwitch(provider, region, "user", opts.model);
|
|
420
430
|
});
|
|
421
|
-
program2.command("project <provider> [region]").description("Switch provider for current project only").action(async (provider, region) => {
|
|
422
|
-
await doSwitch(provider, region, "project");
|
|
431
|
+
program2.command("project <provider> [region]").description("Switch provider for current project only").option("-m, --model <id>", "Use this model ID for all of sonnet/opus/haiku").action(async (provider, region, opts) => {
|
|
432
|
+
await doSwitch(provider, region, "project", opts.model);
|
|
423
433
|
});
|
|
424
434
|
}
|
|
425
435
|
|
|
@@ -466,7 +476,7 @@ ${scope} settings:`);
|
|
|
466
476
|
// src/commands/list.ts
|
|
467
477
|
import chalk2 from "chalk";
|
|
468
478
|
function thinkingIndicator(key, caps) {
|
|
469
|
-
if (!caps) return key === "
|
|
479
|
+
if (!caps) return key === "openrouter" ? "passthrough" : "";
|
|
470
480
|
if (caps.includes("adaptive_thinking")) return "adaptive";
|
|
471
481
|
if (caps.includes("thinking") && caps.includes("effort")) return "effort";
|
|
472
482
|
if (caps.includes("thinking")) return "on/off";
|