Commit 1e76736
committed
fix: increase min max output tokens to 2048 to support reasoning models
- Changed minimum max output tokens from 1000 to 2048
- This ensures reasoning models always have enough tokens:
- Thinking tokens: 1024 min to 1638 max (80% of 2048)
- Output tokens: at least 410 tokens guaranteed (20% of 2048)
- Updated tests to reflect the new minimum value
- This solves the issue where the thinking tokens slider was unusable with low max token values1 parent 9c2fb52 commit 1e76736
File tree
3 files changed
+4
-4
lines changed- webview-ui/src/components/settings
- __tests__
3 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
579 | 579 | | |
580 | 580 | | |
581 | 581 | | |
582 | | - | |
| 582 | + | |
583 | 583 | | |
584 | 584 | | |
585 | 585 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
| 166 | + | |
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
| |||
0 commit comments