Commit 7ff1702
committed
feat(shared): ProviderEntry.reasoningLevel + ReasoningLevel type
Adds the schema primitive for the upcoming Settings UI dropdown
("Reasoning depth" per provider). Shape:
ReasoningLevel = 'minimal' | 'low' | 'medium' | 'high' | 'xhigh'
ProviderEntry.reasoningLevel?: ReasoningLevel
Backwards-compat: the field is optional, so existing configs read
without migration. When absent, core's reasoningForModel() continues
to compute the default from the provider id + model family. When
present, core honors the explicit override.
Schema version is not bumped because the field is optional and
purely additive.1 parent 4e0de27 commit 7ff1702
2 files changed
Lines changed: 13 additions & 0 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
72 | 75 | | |
73 | 76 | | |
74 | 77 | | |
| |||
80 | 83 | | |
81 | 84 | | |
82 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
83 | 94 | | |
84 | 95 | | |
85 | 96 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
| 228 | + | |
228 | 229 | | |
229 | 230 | | |
230 | 231 | | |
| |||
243 | 244 | | |
244 | 245 | | |
245 | 246 | | |
| 247 | + | |
246 | 248 | | |
247 | 249 | | |
248 | 250 | | |
| |||
0 commit comments