- 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
9 lines
454 B
SQL
9 lines
454 B
SQL
-- The model writing each kind of analysis, chosen on the admin page. Without
|
|
-- a row the backend's default (ANALYSIS_MODEL, SUMMARY_MODEL) is used.
|
|
CREATE TABLE model_settings (
|
|
kind text PRIMARY KEY CHECK (kind IN ('summary', 'natal', 'synastry', 'forecast')),
|
|
model text NOT NULL CHECK (length(model) BETWEEN 3 AND 200),
|
|
updated_by uuid REFERENCES users ON DELETE SET NULL,
|
|
updated_at timestamptz NOT NULL DEFAULT now()
|
|
);
|