Commit 41b3ef6
committed
fix: use composerSettings instead of settings in onProviderModelSelect
The model picker displays models based on composerSettings (which
incorporates the active thread's environment server config), but the
onProviderModelSelect handler was resolving model selections against the
primary environment's settings. This mismatch could cause model selections
to silently fail when the active thread's environment has custom models or
instance config that differs from the primary environment.
Use composerSettings consistently so display and selection logic agree.1 parent 7cfef5f commit 41b3ef6
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4449 | 4449 | | |
4450 | 4450 | | |
4451 | 4451 | | |
4452 | | - | |
| 4452 | + | |
4453 | 4453 | | |
4454 | 4454 | | |
4455 | 4455 | | |
| |||
4491 | 4491 | | |
4492 | 4492 | | |
4493 | 4493 | | |
4494 | | - | |
| 4494 | + | |
4495 | 4495 | | |
4496 | 4496 | | |
4497 | 4497 | | |
| |||
0 commit comments