feat(panel): add step anomaly diagnostics, >=100 tok/s integer speed formatting, and capsule alignment fix

This commit is contained in:
fish
2026-11-19 22:28:39 +09:00
parent dfba5ead7b
commit 4a4e483209
20 changed files with 3546 additions and 143 deletions
+34
View File
@@ -37,6 +37,8 @@ export const I18N_MESSAGES_ZH_CN = Object.freeze({
'fmt.pending': '待定',
'fmt.speedIncomplete': '计时不完整',
'fmt.speedCanceled': '已取消',
'fmt.speedError': '调用报错',
'fmt.speedInterrupted': '连接中断',
'fmt.speedCompactionTimingUnavailable': '压缩无计时',
'fmt.speedInvalidOutput': '无有效输出',
'fmt.speedInconsistent': '耗时数据异常',
@@ -299,6 +301,38 @@ export const I18N_MESSAGES_ZH_CN = Object.freeze({
'steps.fitInactiveCardTitle': '点击在上方拟合图查看 {text}(按住 Ctrl/Shift 点击可多选同图对比)',
'steps.turnMediaOnly': '[图片/附件提问]',
'steps.turnMediaSuffix': '[附图]',
'steps.anomalyTag.timeout': '超时{n}',
'steps.anomalyTag.rate_limit': '限流{n}',
'steps.anomalyTag.capacity': '503×{n}',
'steps.anomalyTag.capacitySingle': '503',
'steps.anomalyTag.disconnect': '断连{n}',
'steps.anomalyTag.upstream': '500×{n}',
'steps.anomalyTag.upstreamSingle': '500',
'steps.anomalyTag.model_output': '纠偏{n}',
'steps.anomalyTag.safety': '过滤{n}',
'steps.anomalyTag.auth_or_model': '受限{n}',
'steps.anomalyTag.error': '报错{n}',
'steps.anomalyTag.mixed': '异常{n}',
'steps.anomalyKind.timeout': '流空闲 / 连接超时',
'steps.anomalyKind.rate_limit': '429 限流 / 配额耗尽',
'steps.anomalyKind.capacity': '503 上游算力不足',
'steps.anomalyKind.disconnect': '连接中断 / 断流',
'steps.anomalyKind.upstream': '上游 5xx 内部错误',
'steps.anomalyKind.model_output': '模型输出 / 工具参数无效',
'steps.anomalyKind.safety': '内容安全过滤',
'steps.anomalyKind.auth_or_model': '请求受限 / 模型不可用',
'steps.anomalyKind.error': '调用异常',
'steps.anomalyKind.canceled': '用户取消',
'steps.anomalyStepTitle': '#{step} · 异常 {count} 次',
'steps.anomalyDelayPart': '退避 {sec}s',
'steps.anomalyTerminalTag': '中止',
'steps.anomalyModelTitle': '{model} · 异常 {count} 次',
'steps.anomalyModelSub': '涉及 {steps} 步',
'steps.anomalyModelKindRow': '{kind}:{count} 次',
'steps.anomalyModelClickHint': '点击前往「按步查看」筛选异常步',
'steps.anomalySummaryMeta': '异常 {count} 次({steps} 步)',
'steps.anomalyFilterLabel': '仅看异常 ({count})',
'steps.anomalyFilterAll': '返回全部步骤',
// Step Table Columns (Headers & Option Labels)
'stepCol.step.th': '步序',