Commit fb453e7
fix(ui): show effective runtime model in dropdown after fallback/drift
When the runtime silently falls back to the default model, the
chat model dropdown showed the stale user-selected model instead
of the effective model. The cached override always won, even when
the session's actual model had changed.
Fix: compare the cached override with the session's effective
server model. When they differ (fallback/default drift), show
the effective model so the dropdown reflects reality.
Closes #93346
Co-Authored-By: Claude <[email protected]>1 parent 794bd89 commit fb453e7
1 file changed
Lines changed: 16 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
39 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
40 | 41 | | |
41 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
42 | 55 | | |
43 | 56 | | |
44 | 57 | | |
| |||
0 commit comments