MVP 1.0
This commit is contained in:
1 parent
be11f82f84
commit
e42f751fdc
47 files changed
+3359
-301
No files matched your search
@@ -327,7 +327,7 @@ def main() -> None:
|
||||
"WRITING_PROFILE" in narrate_intern or "Neutraler Journalstil" in narrate_intern or "Core:" in narrate_intern,
|
||||
"A style brief reaches generate",
|
||||
)
|
||||
expect("STYLE_EXAMPLES" in narrate_intern, "A style examples block is labeled")
|
||||
expect("STYLE_EXAMPLES" not in narrate_intern, "A default voice does not attach a style-examples block")
|
||||
style_part = narrate_intern.split("\nCURRENT_DAY_SOURCES\n")[0]
|
||||
expect("Erzählmerkmale" not in style_part, "A current day dialogue is not appended as style signals")
|
||||
expect("Neutraler Journalstil" in style_part or "Core:" in style_part, "A empty profile uses the neutral journal voice")
|
||||
@@ -516,7 +516,7 @@ def main() -> None:
|
||||
if stage.get("purpose") == "journal_generate":
|
||||
intern_i = stage.get("intern") or ""
|
||||
intern_i = intern_i or ((gen_i.json().get("trace") or {}).get("intern") or "")
|
||||
expect("STYLE_EXAMPLES" in intern_i, "I style examples reach generate")
|
||||
expect("STYLE_EXAMPLES" not in intern_i, "I default voice does not send imported texts as style examples")
|
||||
expect("WRITING_PROFILE" in intern_i or "Neutraler Journalstil" in intern_i, "I writing profile reaches generate")
|
||||
expect("knapp" in imported.json()["compiled_brief"], "I stored brief still lists the import")
|
||||
profile = client.get("/api/journal/writing-profile", headers=headers).json()
|
||||
|
||||
Reference in new issue
Block a user