Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions design-system/apps/design-lab/src/i18n/flowChatMessages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ export const flowChatEn = {
"flowChat.modelRound.metrics.cache": "Cache hit rate",
"flowChat.modelRound.metrics.averageRate": "Average output rate",
"flowChat.modelRound.metrics.rateValue": "{value} tokens/s",
"flowChat.modelRound.metrics.rateBasis": "Output tokens divided by the whole turn duration, including tools and waits.",
"detail.option.collapsed": "Collapsed",
"detail.option.streaming": "Streaming",
"detail.option.summary": "Summary",
Expand Down Expand Up @@ -242,7 +241,6 @@ export const flowChatZhCN = {
"flowChat.modelRound.metrics.cache": "缓存命中率",
"flowChat.modelRound.metrics.averageRate": "平均输出速度",
"flowChat.modelRound.metrics.rateValue": "{value} tokens/s",
"flowChat.modelRound.metrics.rateBasis": "输出 Token 除以整个回合耗时,包含工具执行与等待。",
"detail.option.collapsed": "已收起",
"detail.option.streaming": "流式更新",
"detail.option.summary": "思考摘要",
Expand Down Expand Up @@ -398,7 +396,6 @@ export const flowChatZhTW = {
"flowChat.modelRound.metrics.cache": "快取命中率",
"flowChat.modelRound.metrics.averageRate": "平均輸出速度",
"flowChat.modelRound.metrics.rateValue": "{value} tokens/s",
"flowChat.modelRound.metrics.rateBasis": "輸出 Token 除以整個回合耗時,包含工具執行與等待。",
"detail.option.collapsed": "已收合",
"detail.option.streaming": "串流更新",
"detail.option.summary": "思考摘要",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ function TurnMetricsPreview({ state, interactive }: PreviewProps) {
cacheHitRate={unknown ? null : 0.625}
rateValue={unknown ? null : rateValue}
rateDescription={rateRows.map(row => `${row.label}: ${row.value}`).join(" · ")}
rateDetails={<FlowChatMetricDetails rows={rateRows} note={t("modelRound.metrics.rateBasis")} />}
rateDetails={<FlowChatMetricDetails rows={rateRows} />}
speedLevel={unknown ? null : 3}
focusable={interactive}
/>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,8 @@ tool output count as effective output; metadata-only packets do not. The host
reports this optional duration, so controller clock skew and event delivery
latency do not affect it. The speed levels use output tokens divided by the sum
of each call's request-to-completion time, including TTFT but excluding tool
execution, with thresholds at 15, 40 and 80 tokens/s disclosed in the Tooltip.
execution, with thresholds at 15, 40 and 80 tokens/s. Tooltips show only the
measured values and level, not the formula or thresholds.
Missing or inconsistent timing in any model call, or retries whose earlier
attempt timing is unavailable, omit speed rather than substituting partial turn
time. Negative-index controller setup/audit rows are presentation only and do
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ export function TurnUsageMetrics({ usage, durationMs, ttftMs, focusable }: {
cacheHitRate={cacheHitRate}
ttftValue={ttft === null ? null : t('modelRound.metrics.ttftValue', { value: ttft })}
ttftDescription={ttftRows.map(row => `${row.label}: ${row.value}`).join(' · ')}
ttftDetails={<FlowChatMetricDetails rows={ttftRows} note={t('modelRound.metrics.ttftBasis')} />}
ttftDetails={<FlowChatMetricDetails rows={ttftRows} />}
rateValue={rate === null ? null : t('modelRound.metrics.rateValue', { value: rate })}
rateDescription={rateRows.map(row => `${row.label}: ${row.value}`).join(' · ')}
rateDetails={<FlowChatMetricDetails rows={rateRows} note={t('modelRound.metrics.rateBasis')} />}
rateDetails={<FlowChatMetricDetails rows={rateRows} />}
speedLevel={speedLevel}
focusable={focusable}
/>;
Expand Down
2 changes: 0 additions & 2 deletions src/web-ui/src/locales/en-US/flow-chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -1835,8 +1835,6 @@
"rateValue": "{{value}} t/s",
"ttft": "Time to first token",
"ttftValue": "TTFT {{value}}",
"ttftBasis": "Request start to the first text, thinking or tool output of the first model call in this turn. For retried calls, this measures the accepted attempt.",
"rateBasis": "Output tokens divided by the sum of each model call’s request-to-completion time, including TTFT and excluding tool execution; speed levels change at 15, 40 and 80 tokens/s",
"slow": "Slow",
"normal": "Normal",
"fast": "Fast",
Expand Down
2 changes: 0 additions & 2 deletions src/web-ui/src/locales/zh-CN/flow-chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -1835,8 +1835,6 @@
"rateValue": "{{value}} t/s",
"ttft": "首 Token 延迟",
"ttftValue": "TTFT {{value}}",
"ttftBasis": "本轮首次模型调用从发送请求到收到首个文字、思考或工具输出的耗时。发生重试时,显示最终采用的请求耗时。",
"rateBasis": "输出 Token 除以各次模型调用从请求开始到完成的时长之和,包含 TTFT,不含工具执行;档位分界为 15、40、80 Token/秒",
"slow": "慢",
"normal": "一般",
"fast": "快",
Expand Down
2 changes: 0 additions & 2 deletions src/web-ui/src/locales/zh-TW/flow-chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -1835,8 +1835,6 @@
"rateValue": "{{value}} t/s",
"ttft": "首 Token 延遲",
"ttftValue": "TTFT {{value}}",
"ttftBasis": "本輪首次模型呼叫從傳送請求到收到首個文字、思考或工具輸出的耗時。發生重試時,顯示最終採用的請求耗時。",
"rateBasis": "輸出 Token 除以各次模型呼叫從首個有效輸出到流結束的時長總和,不含 TTFT 和工具執行;檔位分界為 15、40、80 Token/秒",
"slow": "慢",
"normal": "一般",
"fast": "快",
Expand Down
Loading