feat: 免费标志挪到模型名后面;轮换 Agnes Key;复测 Zen 免费档(结论:客户端锁定,一个都不能用)

- 前端 Models.vue:绿色「免费」标签从「能力」列挪到「模型」列紧跟模型 id 后面,
  测速行同样跟在名字后面(撤掉闪电图标);能力列恢复只标 视觉/参数固定
- data/.env:AGNES_API_KEY 轮换为新的一把(值不入库;重启后真实调用 200 / health/agnes ok,远端 11 个模型)
- 复测 models.dev 里 29 个 *-free:Go 端点 29/29 400 Model is unavailable;
  Zen 端点同样全失败,其中一批 403 FreeTierError(免费档只能在 OpenCode 客户端内用)
  → 按「可以用才写入」的条件,一个都没写入(结论写进 README/CHANGELOG,避免重复测)
- CHANGELOG 记本轮;README 模型清单补 Zen 免费档不可用的说明
This commit is contained in:
api-gateway committed 2026-09-24 10:06:10 +08:00
1 parent 3909e873cf
commit 181e4c4fa7
3 files changed
+41 -12

No files matched your search

+12 -11
View File
@@ -33,9 +33,9 @@
<!-- 第二十五轮:该模型的参数被上游固定(如 temperature 只能是 1),
挂锁标注 + 悬浮说明,省掉「为什么我传的参数不生效」这类困惑。 -->
<Icon v-if="m.paramNote" name="lock" :size="12" class="plock" :title="m.paramNote" />
<!-- 2026-09-21:免费模型标一颗闪电(与下方表格「能力」列的「免费」同一份数据) -->
<Icon v-if="m.free" name="bolt" :size="12" class="free-ico" :title="t('models.freeHint')" />
<span class="code">{{ m.id }}</span>
<!-- 2026-09-21(老板要求):免费标志直接跟在模型名后面 -->
<span v-if="m.free" class="pill free name-free" :title="t('models.freeHint')">{{ t('models.freeTag') }}</span>
<!-- 支持的格式不在这里铺标签:这行还要放供应商/延迟/测速按钮,窄卡放不下第三颗
(悬停整行可见格式 + 本次测速走的线,见 rowTitle)。权威展示在下方表格的
「支持的格式」列。 -->
@@ -133,8 +133,12 @@
</div>
</div>
<el-table :data="modelRows" size="small" v-loading="loading">
<el-table-column :label="t('models.id')" min-width="185">
<template #default="{ row }"><span class="code">{{ row.id }}</span></template>
<el-table-column :label="t('models.id')" min-width="215">
<template #default="{ row }">
<span class="code">{{ row.id }}</span>
<!-- 2026-09-21(老板要求):免费标志直接跟在模型名后面 -->
<span v-if="row.free" class="pill free name-free" :title="t('models.freeHint')">{{ t('models.freeTag') }}</span>
</template>
</el-table-column>
<el-table-column :label="t('models.type')" width="90">
<template #default="{ row }"><span class="pill" :class="typeCls(row.type)">{{ t(typeKey(row.type)) }}</span></template>
@@ -169,14 +173,11 @@
<span v-if="row.vision" class="pill ok cap">
<Icon name="eye" :size="12" />{{ t('models.visionTag') }}
</span>
<!-- 2026-09-21:免费模型(后端 /v1/models 的 free 字段,配置在 models[].free) -->
<span v-if="row.free" class="pill free cap" :title="t('models.freeHint')">
<Icon name="bolt" :size="12" />{{ t('models.freeTag') }}
</span>
<!-- 2026-09-21(老板要求):免费标志已挪到「模型」列、紧跟模型名后面,这里不再重复 -->
<span v-if="paramKeys(row).length" class="pill warn cap" :title="paramNote(row)">
<Icon name="lock" :size="12" />{{ t('models.paramTag') }}
</span>
<span v-if="!row.vision && !paramKeys(row).length && !row.free" class="muted-2">—</span>
<span v-if="!row.vision && !paramKeys(row).length" class="muted-2">—</span>
</template>
</el-table-column>
<el-table-column :label="t('models.keySet')" width="90">
@@ -462,9 +463,9 @@ onMounted(load)
.arrow { color: var(--muted-2); }
.vision { color: var(--primary); }
.plock { color: var(--warn); }
/* 免费模型:绿色系,跟「视觉」(主题色) / 「参数固定」(橙) 区分开 */
.free-ico { color: #059669; }
/* 免费模型:绿色系,跟「视觉」(主题色) / 「参数固定」(橙) 区分开;跟在模型名后面 */
.pill.free { background: rgba(16, 185, 129, 0.14); color: #059669; }
.name-free { margin-left: 6px; vertical-align: middle; }
/* 支持的格式:三条线是并列关系(没有谁更优),统一用主题色弱底,
不用 ok/warn/err —— 否则「messages」看起来像警告、「responses」像被禁用。 */
.proto {