command-code 1.32.2-rc.0 → 1.32.2
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/CHANGELOG.md
CHANGED
|
@@ -141,12 +141,14 @@ Every field is optional but we recommend adding `contextWindow` as a bare minimu
|
|
|
141
141
|
| `contextWindow` | number > 0 | Tokens. Compat alias: `limit.context` (`contextWindow` wins when both are set) Default: 200K|
|
|
142
142
|
| `maxOutput` | number > 0 | Tokens. Compat alias: `limit.output` |
|
|
143
143
|
| `reasoning` | boolean | `true` assumes the efforts `low` / `medium` / `high`; `false` declares none |
|
|
144
|
-
| `reasoningEfforts` | string[] | Exact valid set: `low` \| `medium` \| `high` \| `xhigh` \| `max`. Unknown levels are dropped with a warning
|
|
144
|
+
| `reasoningEfforts` | string[] | Exact valid set: `low` \| `medium` \| `high` \| `xhigh` \| `max`. Unknown levels are dropped with a warning |
|
|
145
145
|
| `cost` | object | $ per 1M tokens: `input`, `output`, `cacheRead`, `cacheWrite` (snake_case `cache_read` / `cache_write` accepted); `0` is valid for free models |
|
|
146
146
|
| `options` | object | Extra request-body params merged into every call for this model (`temperature`, `top_p`, …) |
|
|
147
147
|
|
|
148
148
|
A non-object model value skips that model with a warning; sibling models survive.
|
|
149
149
|
|
|
150
|
+
Reasoning efforts are auto-detected for known providers. If not added automatically, the onus to add them manually is on the user. Declare the supported efforts in the model's `reasoningEfforts` field inside the `~/.commandcode/providers.json` file.
|
|
151
|
+
|
|
150
152
|
---
|
|
151
153
|
|
|
152
154
|
## Example provider config
|
|
@@ -325,6 +327,15 @@ What stops working, by design: Command Code catalog (gateway) models, `/share`,
|
|
|
325
327
|
</p>
|
|
326
328
|
)
|
|
327
329
|
},
|
|
330
|
+
{
|
|
331
|
+
id: 'faq-reasoning-effort',
|
|
332
|
+
question: 'How do I add reasoning effort support for a custom provider?',
|
|
333
|
+
answer: (
|
|
334
|
+
<p>
|
|
335
|
+
For a custom provider, you need to declare the supported efforts in the model's <code>reasoningEfforts</code> field in <code>~/.commandcode/providers.json</code>. They are automatically added for known providers, but if not available, they need to be added manually.
|
|
336
|
+
</p>
|
|
337
|
+
)
|
|
338
|
+
},
|
|
328
339
|
{
|
|
329
340
|
id: 'faq-same-id',
|
|
330
341
|
question: 'What if a model id exists on Command Code and my provider?',
|
|
@@ -10,7 +10,7 @@ The model catalog — every id `/model`, `--model`, `model:effort` shorthand, an
|
|
|
10
10
|
|---|---|---|---|---|---|---|
|
|
11
11
|
| `deepseek/deepseek-v4-pro` | DeepSeek V4 Pro (latest) | 1M | high, max | $0.66/$1.98 · cache $0.022 | Go and above | hybrid-attention long-context reasoning |
|
|
12
12
|
| `deepseek/deepseek-v4-flash` | DeepSeek V4 Flash (latest) | 1M | high, max | $0.22/$0.66 · cache $0.007 | Go and above | fast hybrid-attention reasoning |
|
|
13
|
-
| `deepseek/deepseek-v4-flash-vision-exp` | DeepSeek V4 Flash Vision (exp) | 1M | high, max | $0.22/$0.66 · cache $0.
|
|
13
|
+
| `deepseek/deepseek-v4-flash-vision-exp` | DeepSeek V4 Flash Vision (exp) | 1M | high, max | $0.22/$0.66 · cache $0.007 | Go and above | fast hybrid-attention reasoning with vision |
|
|
14
14
|
| `moonshotai/Kimi-K3` | Kimi K3 | 1M | — | $3/$15 · cache $0.3 | Go and above | long-horizon coding & knowledge work with 1M context |
|
|
15
15
|
| `moonshotai/Kimi-K2.7-Code` | Kimi K2.7 Code | 256K | — | $0.95/$4 · cache $0.19 | Go and above | improved long-horizon coding with vision |
|
|
16
16
|
| `moonshotai/Kimi-K2.7-Code-Highspeed` | Kimi K2.7 Code HighSpeed | 262K | — | $1.9/$8 · cache $0.38 | Go and above | high-speed long-horizon coding with vision |
|