Commit 8c4f49c
committed
fix(ollama): show full thinking levels for live-discovered models in /think menu
When an Ollama model is live-discovered (not in configured catalog),
the provider's resolveThinkingProfile received reasoning:undefined
and returned the non-reasoning profile with only ['off']. This made
the /think inline keyboard show no useful options.
Change the ternary to an explicit false check: reasoning===false
still yields the off-only profile, but undefined (live-discovered)
now defaults to the reasoning profile so /think shows realistic
choices for newly discovered models.
Fixes #938351 parent 788eb2e commit 8c4f49c
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
60 | 67 | | |
0 commit comments