Commit 6a532b3
committed
Use real DeepSeek V4 model IDs (deepseek-v4-pro / deepseek-v4-flash)
The previous release exposed `deepseek-v4` and `deepseek-v3` as the V4
model IDs in the dropdown, but those aren't accepted by the DeepSeek API
— calls returned 4xx and notes silently failed.
The actual API-accepted IDs are `deepseek-v4-pro` (1.6T/49B active,
flagship) and `deepseek-v4-flash` (284B/13B active, fast+cheap). Both
support a 1M context window and a 384K max-output cap. The legacy
`deepseek-chat` / `deepseek-reasoner` aliases stay in the list for
backward compatibility — DeepSeek deprecates them on 2026-07-24, after
which they continue to map to v4-flash (non-thinking and thinking).
_MODEL_MAX_COMPLETION updated from a placeholder 8K cap to the correct
384K cap so the chunk planner doesn't truncate long notes.1 parent 2530119 commit 6a532b3
3 files changed
Lines changed: 16 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1140 | 1140 | | |
1141 | 1141 | | |
1142 | 1142 | | |
1143 | | - | |
1144 | | - | |
1145 | | - | |
1146 | | - | |
1147 | | - | |
| 1143 | + | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
1148 | 1151 | | |
1149 | 1152 | | |
1150 | 1153 | | |
| |||
1164 | 1167 | | |
1165 | 1168 | | |
1166 | 1169 | | |
1167 | | - | |
| 1170 | + | |
1168 | 1171 | | |
1169 | 1172 | | |
1170 | 1173 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
552 | 552 | | |
553 | 553 | | |
554 | 554 | | |
555 | | - | |
556 | | - | |
557 | | - | |
558 | | - | |
559 | | - | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
560 | 561 | | |
561 | 562 | | |
562 | 563 | | |
| |||
0 commit comments