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:
@@ -231,6 +231,30 @@ export interface AdminUser {
|
||||
|
||||
export type PromptKind = "summary" | "natal" | "synastry" | "forecast";
|
||||
|
||||
/** Admin: the model writing one kind of analysis. */
|
||||
export interface ModelFunction {
|
||||
kind: PromptKind;
|
||||
model: string;
|
||||
/** The configured default (environment). */
|
||||
default: string;
|
||||
custom: boolean;
|
||||
updated_at: string | null;
|
||||
updated_by: string | null;
|
||||
/** Average size of the latest analyses of this kind, for the cost estimate. */
|
||||
avg_input_tokens: number | null;
|
||||
avg_output_tokens: number | null;
|
||||
samples: number;
|
||||
}
|
||||
|
||||
/** A model OpenRouter offers; prices in USD per million tokens. */
|
||||
export interface CatalogModel {
|
||||
id: string;
|
||||
name: string;
|
||||
input_per_million: number;
|
||||
output_per_million: number;
|
||||
context_length: number | null;
|
||||
}
|
||||
|
||||
export interface PromptRevision {
|
||||
id: number;
|
||||
custom: boolean;
|
||||
|
||||
Reference in New Issue
Block a user