feat: Systemprompt-Ebenen: global, je Modell, Standard-Persona, ersetzen statt stapeln, Schema 20, Version 0.1.32 (#1248, #1249)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-27 18:27:59 +01:00
parent 142ad093b6
commit 22eec7a189
23 changed files with 745 additions and 49 deletions

View File

@ -165,6 +165,10 @@ pub fn routes() -> Router<Arc<AppState>> {
"/ui/modelle/systemprompt",
post(verwaltung::model_systemprompt),
)
.route(
"/ui/systemprompt/global",
post(verwaltung::global_systemprompt),
)
.route("/ui/personas", get(personas::page))
.route("/ui/personas/speichern", post(personas::save))
.route("/ui/personas.js", get(personas::script))
@ -667,7 +671,11 @@ pub(crate) fn notice(query: Option<&str>) -> String {
),
"grundlage" => (
true,
"Die Modellgrundlage ist gespeichert und gilt ab der nächsten Chat-Anfrage.",
"Der Systemprompt des Modells ist gespeichert und gilt ab der nächsten Chat-Anfrage.",
),
"systemprompt_global" => (
true,
"Der globale Systemprompt ist gespeichert und gilt ab der nächsten Chat-Anfrage.",
),
"planung" => (
true,