feat: 任务详情 LLM 进度与失败原因标识(列表失败原因摘要)

This commit is contained in:
host committed 2026-10-30 14:38:23 +08:00
1 parent b3f4597d3f
commit 70ad8d7d09
3 files changed
+54 -12

No files matched your search

@@ -72,6 +72,9 @@ export default function TaskListSection({ onNew }: { onNew: () => void }) {
{" · "}<span title={durTitle}>耗时 {dur}</span>
{" · "}<span title={tokTitle}>{tok}</span>
</div>
{(t.status === "failed" || t.status === "interrupted" || t.status === "merge-failed") && t.error_text ? (
<div className="issue-meta" title={t.error_text}>{/503|Service Unavailable/.test(t.error_text) ? "上游 503:模型服务暂时不可用" : t.error_text.replace(/\s+/g, " ").slice(0, 60)}</div>
) : null}
</span>
</li>
);