Files
Jyotisha/frontend/src/lib/consultation-activity-labels.ts
T
Jesse_Chen 04463e9af3 feat(web): show consult runs as a Lucide timeline with sliced compose
Keep provider thinking on a separate channel so process talk is not billed as the spoken reply (BUG-359).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-23 14:38:50 +08:00

17 lines
865 B
TypeScript

export const CONSULTATION_LOADING_METHOD_LABEL = "正在读取印度占星分析规则…";
export const CONSULTATION_CHART_CALCULATION_LABEL = "正在计算本命盘…";
export const CONSULTATION_EVIDENCE_VALIDATION_LABEL = "正在核对可用证据…";
export const CONSULTATION_COMPOSING_LABEL = "正在组织回答…";
export const CONSULTATION_DONE_SKILL_LABEL = "读取分析方法";
export const CONSULTATION_DONE_CHART_LABEL = "计算本命盘";
export function chartCalculationProgressLabel(current: number, total: number): string {
if (total <= 1) return CONSULTATION_CHART_CALCULATION_LABEL;
return `正在计算本命盘(第 ${current}/${total} 项)…`;
}
export function consultationWriteLabel(heading: string, live: boolean): string {
const title = heading.trim() || "回答";
return live ? `正在写${title}` : `${title}`;
}