Admin: list and restart running generations with the models set now
- Modellek page: analyses and answers being written or waiting, with their model and the one a restart would use; restart one or all - Each attempt's started_at is its token: a restarted attempt still running in the worker cannot write its result and is dropped within 10 seconds Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
@@ -6,6 +6,8 @@ import { api, errorText } from "@/lib/api";
|
||||
import { formatDate } from "@/lib/astro";
|
||||
import type { CatalogModel, ModelFunction } from "@/lib/types";
|
||||
|
||||
import { RunningJobs } from "./RunningJobs";
|
||||
|
||||
const LABELS: Record<ModelFunction["kind"], { title: string; about: string }> = {
|
||||
summary: { title: "Tömör összefoglaló", about: "Ingyenes, minden új képlethez magától elkészül. Olcsó, gyors modell elég." },
|
||||
analysis: {
|
||||
@@ -66,6 +68,7 @@ export function AdminModels() {
|
||||
{functions.map((f) => (
|
||||
<FunctionModel key={f.kind} fn={f} catalog={catalog} onSaved={replace} />
|
||||
))}
|
||||
<RunningJobs />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user