Error log, retry notice, a waiting counter that keeps counting
- generation_errors: every failed attempt (model, attempt, outcome, duration); admin Hibanapló page and GET /v1/admin/errors; kept 90 days - The waiting page counts from when the text was asked for (requested_at), not from the page load, so a reload no longer restarts it - It says when an attempt failed and is retried, and when a failed text's unit was given back; admins see the error Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
@@ -7,6 +7,7 @@ import type { Analysis } from "@/lib/types";
|
||||
|
||||
import { AnalysisLoading } from "./AnalysisLoading";
|
||||
import { RegenerateButton } from "./RegenerateButton";
|
||||
import { RetryNotice } from "./RetryNotice";
|
||||
import { Rich } from "./Rich";
|
||||
import { openTab } from "./Tabs";
|
||||
|
||||
@@ -102,7 +103,21 @@ export function ChartSummary({
|
||||
Az összefoglaló most nem készült el. Töltsd újra az oldalt egy kicsit később.
|
||||
</p>
|
||||
) : (
|
||||
<AnalysisLoading compact text="Az összefoglalód készül, ez néhány másodperc…" />
|
||||
<>
|
||||
<AnalysisLoading
|
||||
compact
|
||||
text="Az összefoglalód készül, ez néhány másodperc…"
|
||||
since={summary?.requested_at ?? summary?.created_at}
|
||||
/>
|
||||
{summary && (
|
||||
<RetryNotice
|
||||
status={summary.status}
|
||||
error={summary.error}
|
||||
nextAttemptAt={summary.next_attempt_at}
|
||||
isAdmin={isAdmin}
|
||||
/>
|
||||
)}
|
||||
</>
|
||||
)}
|
||||
</>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user