Commit 8abdc3c
committed
fix(think): skip provider profile when model not in catalog
When a specific model was requested but is not found in the provider catalog
and the provider profile only offers "off", skip the profile and fall through
to the base profile. This prevents the /think menu from showing only "off" for
live-discovered models (e.g. Ollama) that report thinking capabilities but
aren't yet in the catalog.1 parent d03ef9d commit 8abdc3c
1 file changed
Lines changed: 16 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | | - | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
220 | 235 | | |
221 | 236 | | |
222 | 237 | | |
| |||
0 commit comments