Commit f054d67
fix: wire up OpenCode loading state and deduplicate recents in model picker
- Set loadingOcModels to true before fetching and false in finally, so
the model picker shows "Loading models..." while OpenCode models load
- Exclude recent model IDs from the "All Models" section to prevent
duplicate entries in the searchable dropdown
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 56299fe commit f054d67
1 file changed
+8
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
96 | 101 | | |
97 | | - | |
| 102 | + | |
98 | 103 | | |
99 | 104 | | |
100 | 105 | | |
| |||
192 | 197 | | |
193 | 198 | | |
194 | 199 | | |
195 | | - | |
| 200 | + | |
196 | 201 | | |
197 | 202 | | |
198 | | - | |
| 203 | + | |
199 | 204 | | |
200 | 205 | | |
201 | 206 | | |
| |||
0 commit comments