Repository navigation
Commit 082ed63
fix(glyph): use correct API endpoint for model deactivation
The /api/v1/models/list endpoint returns {items: []} with only DB-managed
models, while /api/models returns {data: []} with all models including
auto-discovered ones. Use /api/models for the deactivation step and fix
the jq filter to check .info.is_active (nested under info) and treat
models with no info object as active (auto-discovered default).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 2fc4e4c commit 082ed63
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| |||
0 commit comments