feat: Chat-Kopf mit Persona- und Stimmenwahl (CHAT-01, #1122)
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
@ -1502,6 +1502,18 @@ async fn playground_sagt_wenn_die_antwort_an_der_tokengrenze_abgeschnitten_wird(
|
||||
assert!(js.contains("finish_reason") && js.contains("Antwort abgeschnitten"));
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
async fn chat_kopf_hat_persona_vor_der_modellwahl() {
|
||||
// CHAT-01: Persona steht im Kopf, vor der Modellwahl.
|
||||
let gw = gateway(0, false).await;
|
||||
let (cookie, _) = ui_session(&gw, &gw.key_ui).await;
|
||||
let (_, _, seite) = ui_get(&gw, "/ui/chat", Some(&cookie)).await;
|
||||
let kopf = seite.find("id=\"chat-kopf\"").expect("Kopf fehlt");
|
||||
let persona = seite.find("id=\"chat-persona\"").expect("Persona fehlt");
|
||||
let modell = seite.find("id=\"chat-modell\"").expect("Modell fehlt");
|
||||
assert!(kopf < persona && persona < modell);
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
async fn modelle_zeigen_faehigkeiten_mit_herkunft() {
|
||||
let gw = gateway(0, false).await;
|
||||
|
||||
Reference in New Issue
Block a user