Commit 709e7de
committed
feat(desktop): plumb ProviderEntry.reasoningLevel into generate calls
Closes the backend half of the per-provider reasoning-depth control.
The Settings UI dropdown ships as a follow-up.
- ActiveModelResolution gains reasoningLevel (undefined | 1 of 5 levels)
- resolveActiveModel() reads it from the ProviderEntry on disk
- All four generate call sites in main/index.ts forward active.reasoningLevel
into core's GenerateInput / ApplyCommentInput
- Claude Code import seeds 'medium' on the imported ProviderEntry so
consumer-tier proxies stop 400ing on higher levels1 parent fb9c892 commit 709e7de
2 files changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
59 | 64 | | |
60 | 65 | | |
61 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
182 | 183 | | |
183 | 184 | | |
184 | 185 | | |
| 186 | + | |
185 | 187 | | |
186 | 188 | | |
187 | 189 | | |
| |||
212 | 214 | | |
213 | 215 | | |
214 | 216 | | |
| 217 | + | |
215 | 218 | | |
216 | 219 | | |
217 | 220 | | |
0 commit comments