修复模型选择弹窗:/api/models 补齐 platform/mid/vision/key_count;前端按平台分组、key 空闲数判定可选(占用模型数≥key数则平台不可选);测试配置迁移新结构

This commit is contained in:
2026-09-06 20:03:48 +08:00
parent 7faf45880f
commit e65cece595
6 changed files with 81 additions and 73 deletions
+1
View File
@@ -1043,6 +1043,7 @@ label.icon-btn { cursor: pointer; }
.msw-item.selected .msw-radio::after { content: '✓'; color: #fff; font-size: 11px; font-weight: 700; }
.msw-info { flex: 1; min-width: 0; }
.msw-name { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msw-busy { font-size: 12px; font-weight: 400; color: var(--gray-light); }
.msw-tags { display: flex; gap: 4px; margin-top: 3px; flex-wrap: wrap; }
.msw-tag { font-size: 11px; padding: 1px 6px; border-radius: 4px; }
.msw-tag.vision { background: #dbeafe; color: #1d4ed8; }