Hungarian prompts in Hungarian, model choice per analysis kind, admin regenerate
- The built-in Hungarian system prompts and the user message frame are written in Hungarian - Admin page Modellek: the model of each analysis kind, chosen from the OpenRouter list (structured-output models only) with prices and a cost estimate per analysis - Admin: regenerate any analysis in place with the current prompt and model (no charge) - Fix: a failed forecast analysis refunds a forecast unit, not a natal one Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
import type { Metadata } from "next";
|
||||
import { notFound } from "next/navigation";
|
||||
|
||||
import { AdminNav } from "@/components/AdminNav";
|
||||
import { requireMe } from "@/lib/server";
|
||||
|
||||
import { AdminModels } from "./AdminModels";
|
||||
|
||||
export const metadata: Metadata = { title: "Modellek" };
|
||||
|
||||
export default async function AdminModelsPage() {
|
||||
const me = await requireMe("/admin/modellek");
|
||||
if (!me.user.roles.includes("admin")) notFound();
|
||||
return (
|
||||
<main className="page" style={{ maxWidth: 1180 }}>
|
||||
<AdminNav current="/admin/modellek" />
|
||||
<div className="page-head">
|
||||
<h1>Modellek</h1>
|
||||
<p className="muted">
|
||||
Melyik modell írja az egyes elemzéseket. A változás az ezután kért és az újragenerált elemzésekre hat; a már
|
||||
elkészültek változatlanok maradnak. A felhasználók a modell nevét sehol nem látják.
|
||||
</p>
|
||||
</div>
|
||||
<AdminModels />
|
||||
</main>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user