發佈 0.1.6:速度固定 Fast,移除選項與 footer 顯示

摘要:
速度(service tier)固定為 priority(Fast 1.5x):表單移除速度下拉、
footer 不再顯示 Fast 字樣;舊設定檔存空值也會矯正回 priority。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-07 12:02:07 +08:00
co-authored by Claude Fable 5
parent 491ab5bc8f
commit 6e39a8084f
5 changed files with 18 additions and 41 deletions
+2 -7
View File
@@ -32,7 +32,7 @@ function loadCodexDefaults() {
}
}
// — ✅ 16:06:32 | ctx 24% +1.2k | gpt-5.6-sol / high / Fast
// — ✅ 16:06:32 | ctx 24% +1.2k | gpt-5.6-sol / high
function buildFooter(config, usage, modelMeta, codexDefaults) {
const time = new Date().toLocaleTimeString('zh-TW', { hour12: false });
const parts = [`— ✅ ${time}`];
@@ -50,12 +50,7 @@ function buildFooter(config, usage, modelMeta, codexDefaults) {
if (model) {
const effort = config.reasoningEffort || codexDefaults.effort || meta?.default_reasoning_level || '';
const tier = config.serviceTier || codexDefaults.tier || '';
// 顯示速度層級的名稱(priority → Fast),對照模型快取
const tierName = tier
? (meta?.service_tiers?.find((t) => t.id === tier)?.name || tier)
: '';
parts.push([model, effort, tierName].filter(Boolean).join(' / '));
parts.push(effort ? `${model} / ${effort}` : model);
}
return `\n\n${parts.join(' | ')}`;
}