Hungarian prompts in Hungarian, model choice per analysis kind, admin regenerate
CI / test (push) Successful in 57s
CI / build (push) Successful in 4m48s
CI / deploy (push) Skipped

- 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:
feco
2026-11-18 13:15:57 +00:00
co-authored by Claude Opus 5.5
parent 23975a8369
commit 27de820091
24 changed files with 981 additions and 71 deletions
+23
View File
@@ -610,3 +610,26 @@ a.pair-row:hover strong { color: var(--gold); }
.timeline-item { grid-template-columns: 52px 1fr; }
.timeline-glyph { display: none; }
}
/* admin: models */
.model-list { display: flex; flex-direction: column; gap: 16px; }
.model-card { gap: 12px; }
.model-head { display: flex; gap: 12px 24px; justify-content: space-between; flex-wrap: wrap; }
.model-head h2 { margin: 0 0 4px; font-size: 20px; }
.model-current { display: flex; flex-direction: column; gap: 2px; align-items: flex-end; text-align: right; min-width: 0; }
.model-current code, .model-option code { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.model-picker { display: flex; flex-direction: column; gap: 8px; }
.model-options { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; max-height: 420px; overflow-y: auto; }
.model-option {
width: 100%; display: flex; gap: 12px; justify-content: space-between; align-items: center; text-align: left;
padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: inherit; cursor: pointer; font: inherit;
}
.model-option > span:first-child { display: flex; flex-direction: column; min-width: 0; }
.model-option:hover { border-color: var(--gold); }
.model-option[aria-current="true"] { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 10%, transparent); }
.model-price { display: flex; flex-direction: column; align-items: flex-end; font-size: 13px; color: var(--muted); white-space: nowrap; }
.model-price strong { color: var(--ink); font-size: 14px; }
@media (max-width: 640px) {
.model-current { align-items: flex-start; text-align: left; }
}
.regenerate { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; }